summaryrefslogtreecommitdiffstats
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorNicolin Chen2019-04-18 01:12:09 +0200
committerGuenter Roeck2019-04-18 15:37:25 +0200
commit521c0b6116ef60e4b96ba42dbf285b2ad69071d4 (patch)
tree5531a43aec4f8fe58c96764af8761bcdd84096ec /Documentation/hwmon
parentdocs: hwmon: Add an index file and rename docs to *.rst (diff)
downloadkernel-qcow2-linux-521c0b6116ef60e4b96ba42dbf285b2ad69071d4.tar.gz
kernel-qcow2-linux-521c0b6116ef60e4b96ba42dbf285b2ad69071d4.tar.xz
kernel-qcow2-linux-521c0b6116ef60e4b96ba42dbf285b2ad69071d4.zip
hwmon: (ina3221) Do not read-back to cache reg_config
Reading back the CONFIG register increases an extra I2C transaction. This's not necessary and could be replaced with a local variable caching the register settings. So this patch replaces two readback regmap_read() calls with a tmp variable. Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions