hwmon-vid: Don't spam the logs when VRM version is missing
authorJean Delvare <khali@linux-fr.org>
Sun, 27 May 2007 20:17:43 +0000 (22:17 +0200)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 May 2007 20:17:43 +0000 (22:17 +0200)
commit45f2acc484b31d429eb1359c48ea5cd3acb869cd
tree2d3b1b2dd02f3272c11f8bfa33515cfb179f565e
parente142e2a30787e9fa1bf0f66aa1d01727ce718cc7
hwmon-vid: Don't spam the logs when VRM version is missing

If we cannot guess which VRM version the CPU uses, we set it to 0 and
log it. So we shouldn't spam the log each time vid_from_reg() is
later called with vrm 0.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Rudolf Marek <r.marek@assembler.cz>
drivers/hwmon/hwmon-vid.c