Re: [PATCH 4/6] iio: adc: ad7173: refactor ain and vref selection

From: Ceclan, Dumitru
Date: Wed Apr 03 2024 - 06:04:59 EST


On 01/04/2024 22:40, David Lechner wrote:
> On Mon, Apr 1, 2024 at 10:10 AM Dumitru Ceclan via B4 Relay
> <devnull+dumitru.ceclan.analog.com@xxxxxxxxxx> wrote:
>>
>> From: Dumitru Ceclan <dumitru.ceclan@xxxxxxxxxx>
>>
>> Move validation of analog inputs and reference voltage selection to
>> separate functions.
>>
>> Signed-off-by: Dumitru Ceclan <dumitru.ceclan@xxxxxxxxxx>
>> ---
>
> Same as my comment on PATCH 3/6. We would like to know why this change
> is being made.

Move validation of analog inputs and reference voltage selection to
separate functions to reduce the size of the channel config parsing function.

Good?