diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-03-30 21:46:40 +0200 |
---|---|---|
committer | Jean Delvare <khali@linux-fr.org> | 2009-03-30 21:46:40 +0200 |
commit | e4879e28abd67b894fb9d2db0afd08f1945670ba (patch) | |
tree | e6e9c1269c9ed949fb89bf7d31e116ace255d2ff /Documentation | |
parent | hwmon: (ds1621) Clean up register access (diff) | |
download | linux-dev-e4879e28abd67b894fb9d2db0afd08f1945670ba.tar.xz linux-dev-e4879e28abd67b894fb9d2db0afd08f1945670ba.zip |
hwmon: (ds1621) Avoid unneeded register access
Register access over SMBus isn't cheap, so avoid register access where
possible:
* Only write back the configuration register if it changed.
* Don't refresh the register cache when we don't have to.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions