]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm63) Add additional sysfs group for temp2_type attribute
authorGuenter Roeck <linux@roeck-us.net>
Fri, 4 Apr 2014 16:01:32 +0000 (18:01 +0200)
committerJean Delvare <jdelvare@suse.de>
Fri, 4 Apr 2014 16:01:32 +0000 (18:01 +0200)
commit0ab4a573615e87d6de97fd935610b557468d7c56
treeee1918e053970f6c487b1c884393aa68dd6804bd
parent89de2a04d35396741d175a27d7e1afaddd330232
hwmon: (lm63) Add additional sysfs group for temp2_type attribute

With the new hwmon API, we can only add groups of attributes, not individual
attributes. To prepare for the use of the new API, add an additional sensor
group for the temp2_type attribute and register it with sysfs_create_group
instead of device_create_file.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
drivers/hwmon/lm63.c