hwmon: (vt1211) Fix: do not use assignment in if condition
authorGuenter Roeck <linux@roeck-us.net>
Fri, 20 Jan 2012 05:49:20 +0000 (21:49 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:29 +0000 (18:27 -0700)
commit2185696d7d8a852146f6a901b35e9b94be43329a
treeb3f75fc6188622e689ef3e7507cc485e9b9ddcdf
parentb162c033480a7ba0433d329f56c142a0ab59049d
hwmon: (vt1211) 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: Juerg Haefliger <juergh@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/vt1211.c