summaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-10-16 14:56:29 -0700
committerGuenter Roeck <linux@roeck-us.net>2021-12-26 15:02:05 -0800
commit50152fb6c1a197271b8916b8225525a6ca71e9ee (patch)
tree85e50f0a17de364816855eafb1a36f12c1815c10 /drivers/hwmon/Kconfig
parentca53e7640de7579f7e3ee467c82618e1ad98857a (diff)
downloadlinux-next-50152fb6c1a197271b8916b8225525a6ca71e9ee.tar.gz
hwmon: (tmp401) Use regmap
Use regmap for register accesses to be able to utilize its caching functionality. This also lets us hide register access differences in regmap code. 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 8815e96911d1..36e777de3565 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -1951,6 +1951,7 @@ config SENSORS_TMP108
config SENSORS_TMP401
tristate "Texas Instruments TMP401 and compatibles"
depends on I2C
+ select REGMAP
help
If you say yes here you get support for Texas Instruments TMP401,
TMP411, TMP431, TMP432, and TMP435 temperature sensor chips.