On Thu, Aug 29, 2024 at 06:05:54PM -0700, Guenter Roeck wrote: > Since the shunt voltage and the current register report the same values > when the chip is calibrated, we can calculate the current directly > from the shunt voltage without relying on chip calibration. > > With this change, the current register is no longer accessed. Its > register address is only used to indicate if reading or writing > current or shunt voltage is desired when accessing registers. > > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx> Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>