Re: [PATCH V4 5/5] iio: adc: Clean up ADC code common to PMIC5 and PMIC7

From: Andy Shevchenko
Date: Wed May 13 2020 - 06:00:45 EST


On Wed, May 13, 2020 at 12:24 PM Jishnu Prakash <jprakash@xxxxxxxxxxxxxx> wrote:
>
> This commit includes the following changes:
> Add a common function used for read_raw callback for
> both PMIC5 and PMIC7 ADCs.
> Add exit function for ADC.
> Add info_property under adc_data to more efficiently
> distinguish PMIC5 and PMIC7 ADCs.

Something happened to the editor settings. We have lines up to 72
(recommended) characters.

...

> @@ -512,6 +518,7 @@ static int adc5_read_raw(struct iio_dev *indio_dev,
> &adc5_prescale_ratios[prop->prescale],
> adc->data,
> adc_code_volt, val);
> +
> if (ret)
> return ret;
>

Unrelated.

--
With Best Regards,
Andy Shevchenko