summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2021-10-16 23:56:29 +0200
committerGuenter Roeck <linux@roeck-us.net>2021-12-27 00:02:05 +0100
commit50152fb6c1a197271b8916b8225525a6ca71e9ee (patch)
tree85e50f0a17de364816855eafb1a36f12c1815c10 /drivers/hwmon/Kconfig
parenthwmon: (tmp401) Convert to _info API (diff)
downloadlinux-50152fb6c1a197271b8916b8225525a6ca71e9ee.tar.xz
linux-50152fb6c1a197271b8916b8225525a6ca71e9ee.zip
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.