hwmon: (tmp401) Use sysfs_create_group / sysfs_remove_group
authorGuenter Roeck <linux@roeck-us.net>
Wed, 27 Mar 2013 15:58:46 +0000 (08:58 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 14 Apr 2013 11:47:06 +0000 (04:47 -0700)
commitb4e665c78023ee4e4821f8e602e3b403c49ef70f
treed7e64e944803b06ecfe4784c9ba640f3d327e42c
parent947e92719db4163da6985afcc9ed3cf4147adbd4
hwmon: (tmp401) Use sysfs_create_group / sysfs_remove_group

instead of creating and removing sysfs attribute files individually.

Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/tmp401.c