summaryrefslogtreecommitdiff
path: root/lib/klist.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 18:31:48 (GMT)
committerJean Delvare <khali@endymion.delvare>2010-10-28 18:31:48 (GMT)
commit5f7b77cbd4599b6a90d18981d9883a3e20e689fb (patch)
treea0ff470ba43eb83aaad460a227bbb3635a275caf /lib/klist.c
parent39deb6993e7c22274c272c95013eef886f7004e8 (diff)
downloadlinux-fsl-qoriq-5f7b77cbd4599b6a90d18981d9883a3e20e689fb.tar.xz
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions