[PATCHv5 3/4] iio: mxs-lradc: add write_raw function to modify scale

2013-12-23 Thread Alexandre Belloni
From: Hector Palacios Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios Signed-off-by: Alexandre Belloni Acked-by: Marek Vasut --- drivers/staging/iio/adc/mxs-lradc.c | 62

[PATCHv5 3/4] iio: mxs-lradc: add write_raw function to modify scale

2013-12-23 Thread Alexandre Belloni
From: Hector Palacios hector.palac...@digi.com Added write_raw function to manipulate the optional divider_by_two through the scaling attribute out of the available scales. Signed-off-by: Hector Palacios hector.palac...@digi.com Signed-off-by: Alexandre Belloni