Re: [PATCH v1 4/5] iio: adc: qcom-vadc-common: Re-use generic struct u32_fract

Andy Shevchenko
2022-01-10T18:51:46Z

On Mon, Jan 10, 2022 at 08:17:10PM +0200, Andy Shevchenko wrote:
> Instead of custom data type re-use generic struct u32_fract.
> No changes intended.

...

> -/**
> - * struct vadc_prescale_ratio - Represent scaling ratio for ADC input.
> - * @num: the inverse numerator of the gain applied to the input channel.
> - * @den: the inverse denominator of the gain applied to the input channel.
> - */
> -struct vadc_prescale_ratio {
> - u32 num;
> - u32 den;
> -};

Definitely forgot to compile this one.

--
With Best Regards,
Andy Shevchenko