Re: [PATCHv1 04/11] power: supply: generic-adc-battery: fix unit scaling

From: Linus Walleij
Date: Fri Mar 10 2023 - 03:23:27 EST


On Thu, Mar 9, 2023 at 11:50 PM Sebastian Reichel <sre@xxxxxxxxxx> wrote:

> power-supply properties are reported in µV, µA and µW.
> The IIO API provides mV, mA, mW, so the values need to
> be multiplied by 1000.
>
> Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>

Fixes: tag?
Cc: stable@xxxxxxxxxxxxxxx

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

This code can not have seen much testing.

Yours,
Linus Walleij