* [PATCH] staging : iio: meter: ade7759: fix space before , coding style issue
@ 2014-12-21 12:42 Mohammad Jamal
2014-12-26 10:39 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Mohammad Jamal @ 2014-12-21 12:42 UTC (permalink / raw)
To: lars
Cc: Michael.Hennerich, jic23, knaack.h, pmeerw, gregkh, linux-iio,
devel, linux-kernel, Mohammad Jamal
This patch solves the space before , coding style issue found by
checkpatch in ade7759.c
Signed-off-by: Mohammad Jamal <md.jamalmohiuddin@gmail.com>
---
drivers/staging/iio/meter/ade7759.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/meter/ade7759.c b/drivers/staging/iio/meter/ade7759.c
index 7d21743..b0c7dbc 100644
--- a/drivers/staging/iio/meter/ade7759.c
+++ b/drivers/staging/iio/meter/ade7759.c
@@ -116,7 +116,7 @@ static int ade7759_spi_read_reg_40(struct device *dev,
mutex_lock(&st->buf_lock);
st->tx[0] = ADE7759_READ_REG(reg_address);
- memset(&st->tx[1], 0 , 5);
+ memset(&st->tx[1], 0, 5);
ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers));
if (ret) {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging : iio: meter: ade7759: fix space before , coding style issue
2014-12-21 12:42 [PATCH] staging : iio: meter: ade7759: fix space before , coding style issue Mohammad Jamal
@ 2014-12-26 10:39 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2014-12-26 10:39 UTC (permalink / raw)
To: Mohammad Jamal, lars
Cc: Michael.Hennerich, knaack.h, pmeerw, gregkh, linux-iio, devel,
linux-kernel
On 21/12/14 12:42, Mohammad Jamal wrote:
> This patch solves the space before , coding style issue found by
> checkpatch in ade7759.c
>
> Signed-off-by: Mohammad Jamal <md.jamalmohiuddin@gmail.com>
Fixed by Zachery Warren back in November. I'm a bit behind with
sending stuff upstream so won't have hit anything other than the
togreg branch of iio.git just yet.
Patch was:
[PATCH] drivers:staging:iio: fix checkpatch complaint about space before comma
Thanks,
Jonathan
> ---
> drivers/staging/iio/meter/ade7759.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/iio/meter/ade7759.c b/drivers/staging/iio/meter/ade7759.c
> index 7d21743..b0c7dbc 100644
> --- a/drivers/staging/iio/meter/ade7759.c
> +++ b/drivers/staging/iio/meter/ade7759.c
> @@ -116,7 +116,7 @@ static int ade7759_spi_read_reg_40(struct device *dev,
>
> mutex_lock(&st->buf_lock);
> st->tx[0] = ADE7759_READ_REG(reg_address);
> - memset(&st->tx[1], 0 , 5);
> + memset(&st->tx[1], 0, 5);
>
> ret = spi_sync_transfer(st->us, xfers, ARRAY_SIZE(xfers));
> if (ret) {
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-12-26 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-21 12:42 [PATCH] staging : iio: meter: ade7759: fix space before , coding style issue Mohammad Jamal
2014-12-26 10:39 ` Jonathan Cameron
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).