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 /tools/perf/scripts/python | |
| parent | hwmon: (npcm-750-pwm-fan) Change initial pwm target to 255 (diff) | |
| download | linux-d4b0166d28a8966ab6938d8bb7360c383b519256.tar.gz linux-d4b0166d28a8966ab6938d8bb7360c383b519256.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
