Re: [PATCH v1 1/3] iio: afe: rescale: Move scale conversion to new function

2019-06-11 Thread Peter Rosin
On 2019-06-11 11:56, Mylène Josserand wrote: > To prepare the support of processed value, create a function > to convert the scale according to the voltage-divider node > used in the device-tree. > > Signed-off-by: Mylène Josserand > --- > drivers/iio/afe/iio-rescale.c | 54 >

[PATCH v1 1/3] iio: afe: rescale: Move scale conversion to new function

2019-06-11 Thread Mylène Josserand
To prepare the support of processed value, create a function to convert the scale according to the voltage-divider node used in the device-tree. Signed-off-by: Mylène Josserand --- drivers/iio/afe/iio-rescale.c | 54 +-- 1 file changed, 31 insertions(+),