Nicolin Chen 521c0b6116 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>
2019-04-18 06:37:25 -07:00
..
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2018-12-28 19:48:25 -08:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00
2019-04-15 17:19:53 -07:00