commit | 1bb3450ce5050bc677c1995a60a0ddfe9e33e7b6 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Oct 28 20:31:48 2010 +0200 |
committer | Jean Delvare <khali@endymion.delvare> | Thu Oct 28 20:31:48 2010 +0200 |
tree | bb4a0fcaaf4647cb791d1bcc00cde8fc9a52ba3d | |
parent | 2ae61de90545fe3dadae8119181c430d89a8627b [diff] |
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>