summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ibmaem.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-12-24 07:20:55 -0800
committerGuenter Roeck <linux@roeck-us.net>2020-01-23 13:15:11 -0800
commitd547552a1bf1deb321e787a6e6e2a9774573a35f (patch)
tree495b28a8474dd172851260f11b870b20fc9cc46b /drivers/hwmon/ibmaem.c
parenta6d210da1a01cb5c3fd4d2dd7b5920642f66677c (diff)
hmon: (k10temp) Convert to use devm_hwmon_device_register_with_info
Convert driver to use devm_hwmon_device_register_with_info to simplify the code and to reduce its size. Old size (x86_64): text data bss dec hex filename 8247 4488 64 12799 31ff drivers/hwmon/k10temp.o New size: text data bss dec hex filename 6778 2792 64 9634 25a2 drivers/hwmon/k10temp.o Tested-by: Brad Campbell <lists2009@fnarfbargle.com> Tested-by: Bernhard Gebetsberger <bernhard.gebetsberger@gmx.at> Tested-by: Holger Kiehl <holger.kiehl@dwd.de> Tested-by: Michael Larabel <michael@phoronix.com> Tested-by: Jonathan McDowell <noodles@earth.li> Tested-by: Ken Moffat <zarniwhoop73@googlemail.com> Tested-by: Darren Salt <devspam@moreofthesa.me.uk> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/ibmaem.c')
0 files changed, 0 insertions, 0 deletions