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)
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

Simple merge