diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-01-16 19:08:27 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-02-02 17:19:58 +0100 |
commit | bea0bab0fcf5a0b97f3545ba35647f0f37dc2475 (patch) | |
tree | 87b3a9feb154e8232ec7ae8cee6ffce645ea96bc /drivers/hwmon/Kconfig | |
parent | hwmon: (jc42) Allow negative hysteresis temperatures (diff) | |
download | linux-bea0bab0fcf5a0b97f3545ba35647f0f37dc2475.tar.xz linux-bea0bab0fcf5a0b97f3545ba35647f0f37dc2475.zip |
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/Kconfig | 1 |
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 |