aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/Kconfig
diff options
context:
space:
mode:
authorGravatar Guenter Roeck <linux@roeck-us.net> 2021-12-23 10:32:05 -0800
committerGravatar Guenter Roeck <linux@roeck-us.net> 2022-02-27 17:03:18 -0800
commitf53207017fd99aaeecef6e61b4a3d8e868f53756 (patch)
tree7ff656ecdac4e7f4ce8d384eab7c63c05a9901b8 /drivers/hwmon/Kconfig
parenthwmon: (nct6775) add ASUS ROG STRIX Z390/Z490/X570-* / PRIME X570-P (diff)
downloadlinux-f53207017fd99aaeecef6e61b4a3d8e868f53756.tar.gz
linux-f53207017fd99aaeecef6e61b4a3d8e868f53756.tar.bz2
linux-f53207017fd99aaeecef6e61b4a3d8e868f53756.zip
hwmon: (adt7x10) Convert to use regmap
Using regmap lets us use the regmap subsystem for SPI vs. I2C register accesses. It lets us hide access differences in backend code and lets the common code just access registers without knowing their size. We can also use regmap for register caching. Tested-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Reviewed-by: Cosmin Tanislav <cosmin.tanislav@analog.com> 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 5f1506cca68f..387253ae6c14 100644
--- a/drivers/hwmon/Kconfig
+++ b/drivers/hwmon/Kconfig
@@ -174,6 +174,7 @@ config SENSORS_ADM9240
config SENSORS_ADT7X10
tristate
+ select REGMAP
help
This module contains common code shared by the ADT7310/ADT7320 and
ADT7410/ADT7420 temperature monitoring chip drivers.