hwmon: (gl520sm) Fix: do not use assignment in if condition
authorGuenter Roeck <linux@roeck-us.net>
Tue, 17 Jan 2012 00:56:23 +0000 (16:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:23 +0000 (18:27 -0700)
commitf445a9af939a6989e356a25ca97ea691d98bc336
tree04d062e2345cd68b7591a7d5b22272f9aa144229
parent43da3d123a6ec556a2e1b69a3b9c7d33af965fa0
hwmon: (gl520sm) 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/gl520sm.c