diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2018-10-08 13:14:24 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-10-10 20:37:13 -0700 |
commit | d4b0166d28a8966ab6938d8bb7360c383b519256 (patch) | |
tree | 7a216a734c232ed665e227cd79c54dd7c2d0bfc8 /arch/arm/kernel/stacktrace.c | |
parent | f21c8e753b1dcb8f9e5b096db1f7f4e6fdfa7258 (diff) |
hwmon: (ina3221) Use _info API to register hwmon device
The hwmon core has a newer API which abstracts most of common
things in the core so as to simplify the hwmon device drivers.
This patch implements this _info API to ina3221 hwmon driver.
It also reduces the binary size:
text data bss dec hex filename
5114 1712 0 6826 1aaa drivers/hwmon/ina3221_before.o
4456 440 0 4896 1320 drivers/hwmon/ina3221.o
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'arch/arm/kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions