diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-04-11 19:42:24 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-04-20 16:50:14 +0300 |
commit | e7e0b466a8489288795e3bb0f93acde5b2e6ffa2 (patch) | |
tree | ecc56ca01e5d16cbbd4a43fbeebf3a4105a8a8cb /Documentation/arm64/sve.rst | |
parent | c3dd4b7d1e09a09d496b1084a89413cb1f523fa2 (diff) | |
download | linux-e7e0b466a8489288795e3bb0f93acde5b2e6ffa2.tar.xz |
hwmon: (sch5627) Convert to hwmon_device_register_with_info()
hwmon_device_register() is deprecated.
Convert driver to use hwmon_device_register_with_info() and
remove sysfs attributes which are now being handled by the
hwmon subsystem.
Channel handling was inspired by corsair-cpro.
Tested on a Fujitsu Esprimo P720.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210411164225.11967-2-W_Armin@gmx.de
[groeck: Replaced 0 with NULL]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/arm64/sve.rst')
0 files changed, 0 insertions, 0 deletions