[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <509392C6.6050201@kernel.org>
Date: Fri, 02 Nov 2012 09:30:46 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Kumar Amit Mehta <gmate.amit@...il.com>
CC: jic23@....ac.uk, gregkh@...uxfoundation.org, lars@...afoo.de,
michael.hennerich@...log.com, thomas@...3r.de,
linux-iio@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style
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@...il.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;
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists