hwmon: (smsc47m1) Fix: do not use assignment in if condition
authorGuenter Roeck <linux@roeck-us.net>
Tue, 17 Jan 2012 01:15:02 +0000 (17:15 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:08 +0000 (18:27 -0700)
commit7e612685a3a3f0c1159f4562421e91a6c55d024e
tree42f20b9296cad8346e5005a18ce17329254cde11
parent7cc3cb6662a21a59a2e0e752a8ebd95137c71d3a
hwmon: (smsc47m1) Fix: do not use assignment in if condition

Fix checkpatch issue:
ERROR: do not use assignment in if condition

Replace repeated calls to device_create_file() with calls to sysfs_create_group.

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