Home
last modified time | relevance | path

Searched hist:"3 c60726d217b3e03cef2d9f785727a53fff49450" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dasus_atk0110.cdiff 3c60726d217b3e03cef2d9f785727a53fff49450 Fri Jun 01 10:14:18 CDT 2018 Bastian Germann <bastiangermann@fishpost.de> 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 <bastiangermann@fishpost.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>