Re: [PATCH v4 1/2] hwmon: (asus_atk0110) Replace deprecated device register call

2018-06-04 Thread Luca Tettamanti
On 1 June 2018 at 16:14, Bastian Germann wrote: > 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 sy

Re: [PATCH v4 1/2] hwmon: (asus_atk0110) Replace deprecated device register call

2018-06-01 Thread Guenter Roeck
On Fri, Jun 01, 2018 at 05:14:18PM +0200, Bastian Germann wrote: > 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. > Remo

[PATCH v4 1/2] hwmon: (asus_atk0110) Replace deprecated device register call

2018-06-01 Thread Bastian Germann
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 b