diff options
author | Robert Karszniewicz <avoidr@riseup.net> | 2019-07-21 14:00:51 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-09-03 12:47:17 -0700 |
commit | 3b07a702cc2bb01083aba0e4378da23cd8b952fc (patch) | |
tree | 85ee7ddfdd6ec4a5e26e4ecebb859cfe1ac6c777 /drivers/hwmon/ltc4222.c | |
parent | 59eedefbba121a698969ea005c6d7cd2ccb80376 (diff) |
hwmon: (k8temp) update to use new hwmon registration API
Removes:
- hwmon_dev from k8temp_data struct, as that is now passed
to callbacks, anyway.
- other k8temp_data struct fields, too.
- k8temp_update_device()
Also reduces binary size:
text data bss dec hex filename
4139 1448 0 5587 15d3 drivers/hwmon/k8temp.ko.bak
3103 1220 0 4323 10e3 drivers/hwmon/k8temp.ko
Signed-off-by: Robert Karszniewicz <avoidr@firemail.cc>
Signed-off-by: Robert Karszniewicz <avoidr@riseup.net>
Link: https://lore.kernel.org/r/20190721120051.28064-1-avoidr@riseup.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/ltc4222.c')
0 files changed, 0 insertions, 0 deletions