summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/emc2103.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 20:31:47 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-28 20:31:47 +0200
commit7eb8d508b5cfabbb147670ee063438469d94c465 (patch)
treed392c7c045412f8e312106aba34e7137b5bd374e /drivers/hwmon/emc2103.c
parenthwmon: (w83795) Get rid of VRLSB_SHIFT (diff)
downloadlinux-7eb8d508b5cfabbb147670ee063438469d94c465.tar.xz
linux-7eb8d508b5cfabbb147670ee063438469d94c465.zip
hwmon: (w83795) Fix parity checks
x % 1 is obviously wrong, as it always evaluates to 0. You want x % 2, or x & 1, for parity checking. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/emc2103.c')
0 files changed, 0 insertions, 0 deletions