Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;