summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-01-16 10:08:27 -0800
committerGuenter Roeck <linux@roeck-us.net>2015-02-02 08:19:58 -0800
commitbea0bab0fcf5a0b97f3545ba35647f0f37dc2475 (patch)
tree87b3a9feb154e8232ec7ae8cee6ffce645ea96bc /drivers/hwmon/Kconfig
parent9130880a1c2de115d4a3af0f78b2a437a77a1b7e (diff)
hwmon: (ads2828) Convert to use regmap
Simplify code and reduce code size by using regmap to access i2c registers. Reviewed-and-Tested-by: Robert Rosengren <robert.rosengren@axis.com> 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 c24394086b40..d931cbbed240 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1389,6 +1389,7 @@ config SENSORS_ADS1015
config SENSORS_ADS7828
tristate "Texas Instruments ADS7828 and compatibles"
depends on I2C
+ select REGMAP_I2C
help
If you say yes here you get support for Texas Instruments ADS7828 and
ADS7830 8-channel A/D converters. ADS7828 resolution is 12-bit, while