Commit 50152fb6 authored by Guenter Roeck's avatar Guenter Roeck

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: default avatarGuenter Roeck <linux@roeck-us.net>
parent ca53e764
...@@ -1951,6 +1951,7 @@ config SENSORS_TMP108 ...@@ -1951,6 +1951,7 @@ config SENSORS_TMP108
config SENSORS_TMP401 config SENSORS_TMP401
tristate "Texas Instruments TMP401 and compatibles" tristate "Texas Instruments TMP401 and compatibles"
depends on I2C depends on I2C
select REGMAP
help help
If you say yes here you get support for Texas Instruments TMP401, If you say yes here you get support for Texas Instruments TMP401,
TMP411, TMP431, TMP432, and TMP435 temperature sensor chips. TMP411, TMP431, TMP432, and TMP435 temperature sensor chips.
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment