iio:adc:at91-sama5d2: fix vref_uv type
vref_uv has to be an int. Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com> Reported-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
4ea71e5cee
commit
d7bdcc3f57
|
@ -171,7 +171,7 @@ struct at91_adc_state {
|
|||
struct clk *per_clk;
|
||||
struct regulator *reg;
|
||||
struct regulator *vref;
|
||||
u32 vref_uv;
|
||||
int vref_uv;
|
||||
const struct iio_chan_spec *chan;
|
||||
bool conversion_done;
|
||||
u32 conversion_value;
|
||||
|
|
Loading…
Reference in New Issue