diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-10-16 23:56:29 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-12-27 00:02:05 +0100 |
commit | 50152fb6c1a197271b8916b8225525a6ca71e9ee (patch) | |
tree | 85e50f0a17de364816855eafb1a36f12c1815c10 /drivers/hwmon/Kconfig | |
parent | hwmon: (tmp401) Convert to _info API (diff) | |
download | linux-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/Kconfig | 1 |
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. |