summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/smsc47m1.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 20:31:48 +0200
committerJean Delvare <khali@endymion.delvare>2010-10-28 20:31:48 +0200
commit1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6 (patch)
treebb4a0fcaaf4647cb791d1bcc00cde8fc9a52ba3d /drivers/hwmon/smsc47m1.c
parent2ae61de90545fe3dadae8119181c430d89a8627b (diff)
downloadop-kernel-dev-1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6.zip
op-kernel-dev-1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6.tar.gz
hwmon: (w83795) Delay reading pwm config registers
Wait until we need the pwm config register values, instead of pre-reading them. This saves over 1 second on modprobe on my test system. Obviously this time is added when first accessing pwm config attributes, however not everybody will use them, so it seems unfair to slow down driver loading (and thus boot) for an optional feature. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/smsc47m1.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud