hwmon: (asus_atk0110) Consolidate sysfs attribute initialization
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 24 May 2011 19:19:05 +0000 (12:19 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 18 Jun 2011 06:22:26 +0000 (23:22 -0700)
commit9a2d55be1168b56a5c65321dcce64c97798eaec7
tree59130ea83f3639794570dfe56c9a9d89a81f9658
parent808b4e639eb00394de9989fabca23196c337ee75
hwmon: (asus_atk0110) Consolidate sysfs attribute initialization

Call sysfs_attr_init() from atk_init_attribute() to handle sysfs attribute
initialization in a single function.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Luca Tettamanti <kronos.it@gmail.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/asus_atk0110.c