commit | a654b9d4e7152b06557e2f22bcf0a245bc88bc98 | [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 | a4b6ec7627b17ecfc37eb700d2ba29fa10a52d74 | |
parent | c1a792a6eea42d88a99e6ace215b22fbdb76c7b6 [diff] |
hwmon: (w83795) Get rid of VRLSB_SHIFT VRLSB_SHIFT is a non-sense, the actual shift depends on the sensor type (fans need 4, other sensors need 6). Get rid of it to prevent any confusion. Also get rid of the useless masking, the meaningful bits are always the MSb so there's nothing to mask out after shifting. Signed-off-by: Jean Delvare <khali@linux-fr.org>