commit | 742192f546ae710dd9bc8ddea2354636eac33b57 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Apr 04 18:01:34 2014 +0200 |
committer | Jean Delvare <jdelvare@suse.de> | Fri Apr 04 18:01:34 2014 +0200 |
tree | 767cf4f03199901863ba427937b3ff5bc7457550 | |
parent | 6cf0a91ebe11cee1df871619af4eb58c9af32666 [diff] |
hwmon: (lm90) Create most optional attributes with sysfs_create_group With the new hwmon API, all attributes have to be created as groups. Use sysfs_create_group and sysfs_remove_group instead of device_create_file and device_remove_file to prepare for the new API. Exception is the 'pec' attribute which will stay with the i2c device. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Jean Delvare <jdelvare@suse.de>