hwmon: (w83627ehf) Use platform_create_bundle
authorArmin Wolf <W_Armin@gmx.de>
Fri, 9 Jul 2021 18:44:59 +0000 (20:44 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 17 Aug 2021 21:54:25 +0000 (14:54 -0700)
commit964c1c91ed60dbae30ea30ebe488a6195aa5b613
treed79776197ecc3ca9ce5437822e79c1fc9d66b8b4
parent129cdce3756117adcb0fced93cb926874355dbba
hwmon: (w83627ehf) Use platform_create_bundle

Using platform_create_bundle() simplifies the module
init code and allows w83627ehf_probe() to be marked
as __init, lowering the runtime memory footprint.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20210709184501.6546-2-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83627ehf.c