diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-10-28 20:31:48 +0200 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-10-28 20:31:48 +0200 |
commit | 1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6 (patch) | |
tree | bb4a0fcaaf4647cb791d1bcc00cde8fc9a52ba3d /drivers/hwmon/smsc47m1.c | |
parent | 2ae61de90545fe3dadae8119181c430d89a8627b (diff) | |
download | op-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