hwmon: (w83795) Don't pre-read values we'll update later
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:48 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:48 +0000 (20:31 +0200)
commit5f7b77cbd4599b6a90d18981d9883a3e20e689fb
treea0ff470ba43eb83aaad460a227bbb3635a275caf
parent39deb6993e7c22274c272c95013eef886f7004e8
hwmon: (w83795) Don't pre-read values we'll update later

There is no point in reading registers during initialization if we
will refresh the values in the update function later. This is only
slowing down the driver loading with no benefit, stop doing it.
This change saves 480 ms on driver load on my test system.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83795.c