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

From: Matti Vaittinen
Date: Mon Mar 13 2023 - 04:19:30 EST


Hi,

Looks good to me.

On 3/10/23 00:50, Sebastian Reichel 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>

Reviewed-by: Matti Vaittinen <mazziesaccount@xxxxxxxxx>

--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~