On Wed, May 13, 2020 at 12:24 PM Jishnu Prakash <jprakash@xxxxxxxxxxxxxx> wrote:In this case, I just meant to put each change on a different line. I'll fix it in the next post.
This commit includes the following changes:Something happened to the editor settings. We have lines up to 72
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.
(recommended) characters.
I'll remove it in the next post.
...
@@ -512,6 +518,7 @@ static int adc5_read_raw(struct iio_dev *indio_dev,Unrelated.
&adc5_prescale_ratios[prop->prescale],
adc->data,
adc_code_volt, val);
+
if (ret)
return ret;