aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBastian Germann <[email protected]>2018-06-01 17:14:18 +0200
committerGuenter Roeck <[email protected]>2018-06-01 09:34:54 -0700
commit3c60726d217b3e03cef2d9f785727a53fff49450 (patch)
tree6b7e21f31b19ceed2fab24a60edf7ba07edeb3d2 /tools/perf/scripts/python
parentfb8eefd3b4e6f79e0930fffff6640744699c6f1d (diff)
hwmon: (asus_atk0110) Replace deprecated device register call
Make the asus_atk0110 driver use hwmon_device_register_with_groups instead of the deprecated hwmon_device_register. Construct the expected attribute_group array from the sensor list which contains all needed attributes. Remove the manual sysfs file creation and deletion that are now taken care of by the (un)register calls via the attribute_group array. Signed-off-by: Bastian Germann <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions