Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1311378

[PATCH 1/2] iio:adc:at91-sama5d2: fix vref_uv type

From Ludovic Desroches <ludovic.desroches@atmel.com>
Newsgroups linux.kernel
Subject [PATCH 1/2] iio:adc:at91-sama5d2: fix vref_uv type
Date 2016-01-18 09:50 +0100
Message-ID <qSdFD-6xq-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


vref_uv has to be an int.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
 drivers/iio/adc/at91-sama5d2_adc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c
index ecb2d90..f2d8bd5 100644
--- a/drivers/iio/adc/at91-sama5d2_adc.c
+++ b/drivers/iio/adc/at91-sama5d2_adc.c
@@ -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;
-- 
2.5.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] iio:adc:at91-sama5d2: fix vref_uv type Ludovic Desroches <ludovic.desroches@atmel.com> - 2016-01-18 09:50 +0100
  [PATCH 2/2] iio:adc:at91-sama5d2: code cleanup Ludovic Desroches <ludovic.desroches@atmel.com> - 2016-01-18 09:50 +0100
    Re: [PATCH 2/2] iio:adc:at91-sama5d2: code cleanup Jonathan Cameron <jic23@kernel.org> - 2016-01-23 17:20 +0100
  Re: [PATCH 1/2] iio:adc:at91-sama5d2: fix vref_uv type Jonathan Cameron <jic23@kernel.org> - 2016-01-23 17:20 +0100

csiph-web