From: Ludovic Desroches <ludovic.desroches@atmel.com>
To: <jic23@kernel.org>
Cc: <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>, <nicolas.ferre@atmel.com>,
Ludovic Desroches <ludovic.desroches@atmel.com>
Subject: [PATCH 1/3] iio:adc:at91-sama5d2: fix typo
Date: Thu, 3 Mar 2016 17:09:13 +0100 [thread overview]
Message-ID: <1457021355-23898-2-git-send-email-ludovic.desroches@atmel.com> (raw)
In-Reply-To: <1457021355-23898-1-git-send-email-ludovic.desroches@atmel.com>
Fix typo in the name of a macro.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
---
drivers/iio/adc/at91-sama5d2_adc.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/drivers/iio/adc/at91-sama5d2_adc.c b/drivers/iio/adc/at91-sama5d2_adc.c
index dbee13a..33bacec 100644
--- a/drivers/iio/adc/at91-sama5d2_adc.c
+++ b/drivers/iio/adc/at91-sama5d2_adc.c
@@ -140,7 +140,7 @@
/* Version Register */
#define AT91_SAMA5D2_VERSION 0xfc
-#define AT91_AT91_SAMA5D2_CHAN(num, addr) \
+#define AT91_SAMA5D2_CHAN(num, addr) \
{ \
.type = IIO_VOLTAGE, \
.channel = num, \
@@ -185,18 +185,18 @@ struct at91_adc_state {
};
static const struct iio_chan_spec at91_adc_channels[] = {
- AT91_AT91_SAMA5D2_CHAN(0, 0x50),
- AT91_AT91_SAMA5D2_CHAN(1, 0x54),
- AT91_AT91_SAMA5D2_CHAN(2, 0x58),
- AT91_AT91_SAMA5D2_CHAN(3, 0x5c),
- AT91_AT91_SAMA5D2_CHAN(4, 0x60),
- AT91_AT91_SAMA5D2_CHAN(5, 0x64),
- AT91_AT91_SAMA5D2_CHAN(6, 0x68),
- AT91_AT91_SAMA5D2_CHAN(7, 0x6c),
- AT91_AT91_SAMA5D2_CHAN(8, 0x70),
- AT91_AT91_SAMA5D2_CHAN(9, 0x74),
- AT91_AT91_SAMA5D2_CHAN(10, 0x78),
- AT91_AT91_SAMA5D2_CHAN(11, 0x7c),
+ AT91_SAMA5D2_CHAN(0, 0x50),
+ AT91_SAMA5D2_CHAN(1, 0x54),
+ AT91_SAMA5D2_CHAN(2, 0x58),
+ AT91_SAMA5D2_CHAN(3, 0x5c),
+ AT91_SAMA5D2_CHAN(4, 0x60),
+ AT91_SAMA5D2_CHAN(5, 0x64),
+ AT91_SAMA5D2_CHAN(6, 0x68),
+ AT91_SAMA5D2_CHAN(7, 0x6c),
+ AT91_SAMA5D2_CHAN(8, 0x70),
+ AT91_SAMA5D2_CHAN(9, 0x74),
+ AT91_SAMA5D2_CHAN(10, 0x78),
+ AT91_SAMA5D2_CHAN(11, 0x7c),
};
static unsigned at91_adc_startup_time(unsigned startup_time_min,
--
2.5.0
next prev parent reply other threads:[~2016-03-03 16:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-03 16:09 [PATCH 0/3] iio:adc:at91-sama5d2: add support for signed conversion Ludovic Desroches
2016-03-03 16:09 ` Ludovic Desroches [this message]
2016-03-05 15:02 ` [PATCH 1/3] iio:adc:at91-sama5d2: fix typo Jonathan Cameron
2016-03-03 16:09 ` [PATCH 2/3] iio:adc:at91-sama5d2: fix identation Ludovic Desroches
2016-03-05 15:03 ` Jonathan Cameron
2016-03-03 16:09 ` [PATCH 3/3] iio:adc:at91-sama5d2: add support for signed conversion Ludovic Desroches
2016-03-05 15:16 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1457021355-23898-2-git-send-email-ludovic.desroches@atmel.com \
--to=ludovic.desroches@atmel.com \
--cc=jic23@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®