diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-11-28 21:06:14 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-05-07 16:23:21 +0300 |
commit | 1094360dc860e3578b3ec1889b05c88462ff189e (patch) | |
tree | bc8f40924807114c955154bc437661788b2fd68a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 45bf8305fb2ef684e53fd0dcf1cc7e7b456f3478 (diff) | |
download | linux-1094360dc860e3578b3ec1889b05c88462ff189e.tar.xz |
hwmon: (emc1403) Convert to with_info API
Convert driver to register with the hwmon subsystem using
devm_hwmon_device_register_with_info() instead of
devm_hwmon_device_register_with_groups() to simplify the code
and to reduce its size. As side effect, this also fixes a couple
of overflow problems when writing limit and hysteresis registers.
Cc: Lars Petter Mostad <lars.petter.mostad@appear.net>
Tested-by: Lars Petter Mostad <lars.petter.mostad@appear.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions