Re: [PATCHv1 09/11] power: supply: generic-adc-battery: simplify read_channel logic

From: Linus Walleij
Date: Fri Mar 10 2023 - 03:32:18 EST


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

> Drop mostly useless gab_prop_to_chan() function by directly
> supplying the correct enum value to read_channel().
>
> Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx>

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

Yours,
Linus Walleij