hwmon/smsc47b397: Don't report missing fans as spinning at 82 RPM
authorJean Delvare <khali@linux-fr.org>
Sat, 23 Jun 2007 12:58:22 +0000 (14:58 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:16 +0000 (14:22 -0400)
commit90205c6cbb8fd9880bf798903a99f5b8903455e2
tree16ee3e72a6c1f1d3dd13fe986aaa17128c108696
parent3faa1ffb4f4be7d10715f4b003ff7b27d14eae26
hwmon/smsc47b397: Don't report missing fans as spinning at 82 RPM

Also protects ourselves against a possible division by zero.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/smsc47b397.c