diff options
author | Guenter Roeck <linux@roeck-us.net> | 2024-07-16 08:26:22 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-07-31 20:43:53 +0300 |
commit | f8016132ce49dc4acf5c476cebfc93c27fb493cc (patch) | |
tree | c45522affd8d90bf5664bf651f7cdd0d34c17ea4 /Documentation/hwmon | |
parent | 02c3c4e7026b307a220132b59758432b6e7a0cac (diff) | |
download | linux-f8016132ce49dc4acf5c476cebfc93c27fb493cc.tar.xz |
hwmon: (max1619) Convert to use regmap
Use regmap for local caching, to hide register read/write address
differences, and for multi-byte operations. With this change,
the driver specific lock is no longer necessary.
While at it, check errors seen when initializing the chip and bail out
if chip initialization fails.
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/max1619.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/hwmon/max1619.rst b/Documentation/hwmon/max1619.rst index e25956e70f73..b5fc175ae18d 100644 --- a/Documentation/hwmon/max1619.rst +++ b/Documentation/hwmon/max1619.rst @@ -27,7 +27,3 @@ All temperature values are given in degrees Celsius. Resolution is 1.0 degree for the local temperature and for the remote temperature. Only the external sensor has high and low limits. - -The max1619 driver will not update its values more frequently than every -other second; reading them more often will do no harm, but will return -'old' values. |