]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit879d13b73500ad1b3f76063d16f9492e479d0789
treed79776197ecc3ca9ce5437822e79c1fc9d66b8b4
parentcf2b6b6059443be30927ccdd048df88e500c9451
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