summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/gl520sm.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-07-24 20:37:05 +0200
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-07-28 20:16:36 -0700
commitf90be42fb383f39aa814b8e14de138da8973e5c1 (patch)
treec32c4a3d2d1c07e11cdb605c682af1a00e731634 /drivers/hwmon/gl520sm.c
parent6d101c588f0fe08ef00f16c1a93762dd5d563df7 (diff)
downloadop-kernel-dev-f90be42fb383f39aa814b8e14de138da8973e5c1.zip
op-kernel-dev-f90be42fb383f39aa814b8e14de138da8973e5c1.tar.gz
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/gl520sm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud