diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-07-24 20:37:05 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-28 20:16:36 -0700 |
commit | f90be42fb383f39aa814b8e14de138da8973e5c1 (patch) | |
tree | c32c4a3d2d1c07e11cdb605c682af1a00e731634 /Documentation/hwmon | |
parent | 6d101c588f0fe08ef00f16c1a93762dd5d563df7 (diff) | |
download | linux-stable-f90be42fb383f39aa814b8e14de138da8973e5c1.tar.gz linux-stable-f90be42fb383f39aa814b8e14de138da8973e5c1.tar.bz2 linux-stable-f90be42fb383f39aa814b8e14de138da8973e5c1.zip |
hwmon: (lm90) Refactor reading of config2 register
Several vendors implement a second configuration register, which we
check during device detection. Refactor the code to avoid duplication.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Stijn Devriendt <sdevrien@cisco.com>
Cc: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions