commit | 7eb8d508b5cfabbb147670ee063438469d94c465 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Oct 28 20:31:47 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:47 2010 +0200 |
tree | d392c7c045412f8e312106aba34e7137b5bd374e | |
parent | a654b9d4e7152b06557e2f22bcf0a245bc88bc98 [diff] |
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>