]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (max6650) Read non-volatile registers only once
authorGuenter Roeck <linux@roeck-us.net>
Fri, 7 Jun 2019 17:23:23 +0000 (10:23 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Jun 2019 01:33:01 +0000 (18:33 -0700)
commit62dbe50591769f6135b3c8a93c8168b3d177a823
tree044fa1a8494460f954b598a45a2653faf5680621
parente193acb3d681ba28355ab8bafc49768ac609b94e
hwmon: (max6650) Read non-volatile registers only once

Only tachometer and alarm status registers are modified by the chip.
All other registers only need to be read only once, and reading them
repeatedly does not add any value.

Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max6650.c