diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-04-04 16:01:34 (GMT) |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2014-04-04 16:01:34 (GMT) |
commit | 742192f546ae710dd9bc8ddea2354636eac33b57 (patch) | |
tree | 767cf4f03199901863ba427937b3ff5bc7457550 /arch/xtensa/kernel | |
parent | 6cf0a91ebe11cee1df871619af4eb58c9af32666 (diff) | |
download | linux-742192f546ae710dd9bc8ddea2354636eac33b57.tar.xz |
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>
Diffstat (limited to 'arch/xtensa/kernel')
0 files changed, 0 insertions, 0 deletions