hwmon/lm87: Disable VID when it should be
commitf3c97cd833e15aa67cf24e6ac84a81ce02a0aca0
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Oct 2007 12:02:36 +0000 (15 14:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 Nov 2007 15:44:15 +0000 (2 08:44 -0700)
tree533be304c8d55d9ff4c10385906ff20ea16f3c84
parentc285b5c2ac692507a1724fb1fc447b17fd3dba4f
hwmon/lm87: Disable VID when it should be

Already in Linus' tree:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=889af3d5d9586db795a06c619e416b4baee11da8

A stupid bit shifting bug caused the VID value to be always exported
even when the hardware is configured for something different.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/lm87.c