From: Kumar Amit Mehta <gmate.amit@gmail.com>
To: jic23@cam.ac.uk
Cc: gregkh@linuxfoundation.org, lars@metafoo.de,
michael.hennerich@analog.com, thomas@m3y3r.de,
linux-iio@vger.kernel.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: [PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style
Date: Fri, 02 Nov 2012 07:28:53 +0000 [thread overview]
Message-ID: <1351841333-30581-1-git-send-email-gmate.amit@gmail.com> (raw)
remove unnecessary semicolon from the macro definition
Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
---
drivers/staging/iio/adc/ad7280a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c
index cfc39a7..e7cb3b2 100644
--- a/drivers/staging/iio/adc/ad7280a.c
+++ b/drivers/staging/iio/adc/ad7280a.c
@@ -117,7 +117,7 @@
*/
#define POLYNOM 0x2F
#define POLYNOM_ORDER 8
-#define HIGHBIT 1 << (POLYNOM_ORDER - 1);
+#define HIGHBIT (1 << (POLYNOM_ORDER - 1))
struct ad7280_state {
struct spi_device *spi;
--
1.7.9.5
WARNING: multiple messages have this Message-ID (diff)
From: Kumar Amit Mehta <gmate.amit@gmail.com>
To: jic23@cam.ac.uk
Cc: gregkh@linuxfoundation.org, lars@metafoo.de,
michael.hennerich@analog.com, thomas@m3y3r.de,
linux-iio@vger.kernel.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: [PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style
Date: Fri, 2 Nov 2012 00:28:53 -0700 [thread overview]
Message-ID: <1351841333-30581-1-git-send-email-gmate.amit@gmail.com> (raw)
remove unnecessary semicolon from the macro definition
Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
---
drivers/staging/iio/adc/ad7280a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c
index cfc39a7..e7cb3b2 100644
--- a/drivers/staging/iio/adc/ad7280a.c
+++ b/drivers/staging/iio/adc/ad7280a.c
@@ -117,7 +117,7 @@
*/
#define POLYNOM 0x2F
#define POLYNOM_ORDER 8
-#define HIGHBIT 1 << (POLYNOM_ORDER - 1);
+#define HIGHBIT (1 << (POLYNOM_ORDER - 1))
struct ad7280_state {
struct spi_device *spi;
--
1.7.9.5
next reply other threads:[~2012-11-02 7:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-02 7:28 Kumar Amit Mehta [this message]
2012-11-02 7:28 ` [PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style Kumar Amit Mehta
2012-11-02 9:30 ` 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=1351841333-30581-1-git-send-email-gmate.amit@gmail.com \
--to=gmate.amit@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@cam.ac.uk \
--cc=kernel-janitors@vger.kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.hennerich@analog.com \
--cc=thomas@m3y3r.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.