From: Jonathan Cameron <jic23@kernel.org>
To: Kumar Amit Mehta <gmate.amit@gmail.com>
Cc: jic23@cam.ac.uk, 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: Re: [PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style
Date: Fri, 02 Nov 2012 09:30:46 +0000 [thread overview]
Message-ID: <509392C6.6050201@kernel.org> (raw)
In-Reply-To: <1351841333-30581-1-git-send-email-gmate.amit@gmail.com>
On 11/02/2012 07:28 AM, Kumar Amit Mehta wrote:
> remove unnecessary semicolon from the macro definition
>
> Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Thanks, added to togreg branch of iio.git
> ---
> 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;
>
prev parent reply other threads:[~2012-11-02 9:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=509392C6.6050201@kernel.org \
--to=jic23@kernel.org \
--cc=devel@driverdev.osuosl.org \
--cc=gmate.amit@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).