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)
commit0dcb28a1520f1a058058886b5c7510bb1cc0ef60
treeee1918e053970f6c487b1c884393aa68dd6804bd
parent964f945b5e51c58f48ce21fd529a0ec3697b18b0
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