[OPW,kernel,1/2] Staging: iio: space prohibited before semicolon
diff mbox

Message ID 1381061738-6553-1-git-send-email-ebru.akagunduz@gmail.com
State Accepted
Headers show

Commit Message

Ebru Akagündüz Oct. 6, 2013, 12:15 p.m. UTC
Fix checkpatch.pl issues with space prohibited before semicolon in lis3l02dq_ring.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
---
 drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Josh Triplett Oct. 6, 2013, 9:20 p.m. UTC | #1
On Sun, Oct 06, 2013 at 03:15:37PM +0300, Ebru Akagunduz wrote:
> Fix checkpatch.pl issues with space prohibited before semicolon in lis3l02dq_ring.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Reviewed-by: Josh Triplett <josh@joshtriplett.org>

> ---
>  drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/accel/lis3l02dq_ring.c
> index 5b8f0f6..7ccae04 100644
> --- a/drivers/staging/iio/accel/lis3l02dq_ring.c
> +++ b/drivers/staging/iio/accel/lis3l02dq_ring.c
> @@ -111,7 +111,7 @@ static int lis3l02dq_get_buffer_element(struct iio_dev *indio_dev,
>  				u8 *buf)
>  {
>  	int ret, i;
> -	u8 *rx_array ;
> +	u8 *rx_array;
>  	s16 *data = (s16 *)buf;
>  	int scan_count = bitmap_weight(indio_dev->active_scan_mask,
>  				       indio_dev->masklength);
> -- 
> 1.8.1.2
> 
> -- 
> You received this message because you are subscribed to the Google Groups "opw-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Greg Kroah-Hartman Oct. 7, 2013, 5:17 a.m. UTC | #2
On Sun, Oct 06, 2013 at 03:15:37PM +0300, Ebru Akagunduz wrote:
> Fix checkpatch.pl issues with space prohibited before semicolon in lis3l02dq_ring.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
> ---
>  drivers/staging/iio/accel/lis3l02dq_ring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

In the future, put the driver name in the Subject: so this can be better
detected when just looking at the subject lines as to what actual file
is being touched.  Otherwise, you might think you are doing this for all
iio files :)

thanks,

greg k-h
Greg Kroah-Hartman Oct. 7, 2013, 5:19 a.m. UTC | #3
On Sun, Oct 06, 2013 at 03:15:37PM +0300, Ebru Akagunduz wrote:
> Fix checkpatch.pl issues with space prohibited before semicolon in
> lis3l02dq_ring.c
> 
> Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>

Applied, thanks.

greg k-h

Patch
diff mbox

diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/accel/lis3l02dq_ring.c
index 5b8f0f6..7ccae04 100644
--- a/drivers/staging/iio/accel/lis3l02dq_ring.c
+++ b/drivers/staging/iio/accel/lis3l02dq_ring.c
@@ -111,7 +111,7 @@  static int lis3l02dq_get_buffer_element(struct iio_dev *indio_dev,
 				u8 *buf)
 {
 	int ret, i;
-	u8 *rx_array ;
+	u8 *rx_array;
 	s16 *data = (s16 *)buf;
 	int scan_count = bitmap_weight(indio_dev->active_scan_mask,
 				       indio_dev->masklength);