diff options
author | Guenter Roeck <linux@roeck-us.net> | 2021-12-23 21:32:05 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-02-28 04:03:18 +0300 |
commit | f53207017fd99aaeecef6e61b4a3d8e868f53756 (patch) | |
tree | 7ff656ecdac4e7f4ce8d384eab7c63c05a9901b8 /drivers/hwmon/hwmon-vid.c | |
parent | 7979a30ddc560b372c0b9549f0587f56365cf6bf (diff) | |
download | linux-f53207017fd99aaeecef6e61b4a3d8e868f53756.tar.xz |
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/hwmon-vid.c')
0 files changed, 0 insertions, 0 deletions