]> 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)
commit30fcae95de4dbd15649f2ffd60d4c7a173b1271e
treeee1918e053970f6c487b1c884393aa68dd6804bd
parent1809d2c8d9b9c50cdef04f6da16720d4b2eff9cd
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