hwmon: (w83781d) Fix: do not use assignment in if condition
authorGuenter Roeck <linux@roeck-us.net>
Tue, 17 Jan 2012 04:45:16 +0000 (20:45 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:37 +0000 (18:27 -0700)
commit795013333b613ba79b7df57515c9afacac6f167d
tree3bf1d5a152d9ccaa84a4f806d82c81204a9a76ac
parentaff6e00ee142d04ffeb8d8dcd3b2c0b8f789c354
hwmon: (w83781d) 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.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83781d.c