summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-06-19 17:49:19 -0700
committerGuenter Roeck <linux@roeck-us.net>2016-07-09 08:33:47 -0700
commite65365fed87f5385c04124b6e7ab8967ca600b26 (patch)
tree356442ff26bf557e9ed464e432517666783be019 /drivers/hwmon/Kconfig
parent5f7e5e29ab60967a009d307dc4fdecce57efaa9c (diff)
downloadop-kernel-dev-e65365fed87f5385c04124b6e7ab8967ca600b26.zip
op-kernel-dev-e65365fed87f5385c04124b6e7ab8967ca600b26.tar.gz
hwmon: (lm75) Convert to use regmap
Convert to use regmap. Leave caching to regmap and drop the register update function. While this can result in additional read operations if the temperature register is read continuously, it avoids re-reading the limit registers and thus overall reduces complexity. Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r--drivers/hwmon/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig
index 91f145e..f271353 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -958,6 +958,7 @@ config SENSORS_LM75
tristate "National Semiconductor LM75 and compatibles"
depends on I2C
depends on THERMAL || !THERMAL_OF
+ select REGMAP_I2C
help
If you say yes here you get support for one common type of
temperature sensor chip, with models including:
OpenPOWER on IntegriCloud