hwmon: (w83795) Avoid reading the same register twice
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:47 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:47 +0000 (20:31 +0200)
commitc1a792a6eea42d88a99e6ace215b22fbdb76c7b6
tree92c6f630e7044fdd65100326ed0489a6cc1f5b0a
parent02728ffef9c2cf067e654e832b8c282a8a4d0b16
hwmon: (w83795) Avoid reading the same register twice

Shorten driver load time by avoiding duplicate register access during
initialization. This saves 112 ms on modprobe on my test system.

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