Commit d7bdcc3f authored by Ludovic Desroches's avatar Ludovic Desroches Committed by Jonathan Cameron

iio:adc:at91-sama5d2: fix vref_uv type

vref_uv has to be an int.
Signed-off-by: default avatarLudovic Desroches <ludovic.desroches@atmel.com>
Reported-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 4ea71e5c
...@@ -171,7 +171,7 @@ struct at91_adc_state { ...@@ -171,7 +171,7 @@ struct at91_adc_state {
struct clk *per_clk; struct clk *per_clk;
struct regulator *reg; struct regulator *reg;
struct regulator *vref; struct regulator *vref;
u32 vref_uv; int vref_uv;
const struct iio_chan_spec *chan; const struct iio_chan_spec *chan;
bool conversion_done; bool conversion_done;
u32 conversion_value; u32 conversion_value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment