hwmon: (w83795) Delay reading limit registers
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)
commit2ae61de90545fe3dadae8119181c430d89a8627b
tree9a2aa7cc29674089dd9cc202050d61c95f559407
parent0d7237bfd13a0a8df270654223c15a16b368a3bd
hwmon: (w83795) Delay reading limit registers

Wait until we need the limit register values, instead of pre-reading
them. This saves 544 ms on modprobe on my test system. Obviously this
time is added when first running "sensors" or any other monitoring
application, but I think it is better than slowing down the boot.

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