From: Guenter Roeck Date: Fri, 4 Apr 2014 16:01:34 +0000 (+0200) Subject: hwmon: (lm90) Create most optional attributes with sysfs_create_group X-Git-Tag: v3.15-rc1~71^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742192f546ae710dd9bc8ddea2354636eac33b57;p=pandora-kernel.git 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 Signed-off-by: Jean Delvare --- Reading git-diff-tree failed