diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-07-24 14:37:05 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-28 23:16:36 -0400 |
commit | f90be42fb383f39aa814b8e14de138da8973e5c1 (patch) | |
tree | c32c4a3d2d1c07e11cdb605c682af1a00e731634 /drivers/hwmon/ntc_thermistor.c | |
parent | 6d101c588f0fe08ef00f16c1a93762dd5d563df7 (diff) |
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 'drivers/hwmon/ntc_thermistor.c')
0 files changed, 0 insertions, 0 deletions