diff mbox

[1/7] soc_camera/mx1_camera: Fix warnings related to spacing

Message ID 1364965241-28225-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat April 3, 2013, 5 a.m. UTC
Fixes the following checkpatch warnings:
WARNING: unnecessary whitespace before a quoted newline
WARNING: please, no space before tabs

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/media/platform/soc_camera/mx1_camera.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Guennadi Liakhovetski May 7, 2013, 6:52 a.m. UTC | #1
On Wed, 3 Apr 2013, Sachin Kamat wrote:

> Fixes the following checkpatch warnings:
> WARNING: unnecessary whitespace before a quoted newline
> WARNING: please, no space before tabs
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>

Thanks, all 7 queued for 3.11

Guennadi

> ---
>  drivers/media/platform/soc_camera/mx1_camera.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/media/platform/soc_camera/mx1_camera.c b/drivers/media/platform/soc_camera/mx1_camera.c
> index 4389f43..a3fd8d6 100644
> --- a/drivers/media/platform/soc_camera/mx1_camera.c
> +++ b/drivers/media/platform/soc_camera/mx1_camera.c
> @@ -776,7 +776,7 @@ static int __init mx1_camera_probe(struct platform_device *pdev)
>  	/* request irq */
>  	err = claim_fiq(&fh);
>  	if (err) {
> -		dev_err(&pdev->dev, "Camera interrupt register failed \n");
> +		dev_err(&pdev->dev, "Camera interrupt register failed\n");
>  		goto exit_free_dma;
>  	}
>  
> @@ -853,7 +853,7 @@ static int __exit mx1_camera_remove(struct platform_device *pdev)
>  }
>  
>  static struct platform_driver mx1_camera_driver = {
> -	.driver 	= {
> +	.driver		= {
>  		.name	= DRIVER_NAME,
>  	},
>  	.remove		= __exit_p(mx1_camera_remove),
> -- 
> 1.7.9.5
> 

---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/media/platform/soc_camera/mx1_camera.c b/drivers/media/platform/soc_camera/mx1_camera.c
index 4389f43..a3fd8d6 100644
--- a/drivers/media/platform/soc_camera/mx1_camera.c
+++ b/drivers/media/platform/soc_camera/mx1_camera.c
@@ -776,7 +776,7 @@  static int __init mx1_camera_probe(struct platform_device *pdev)
 	/* request irq */
 	err = claim_fiq(&fh);
 	if (err) {
-		dev_err(&pdev->dev, "Camera interrupt register failed \n");
+		dev_err(&pdev->dev, "Camera interrupt register failed\n");
 		goto exit_free_dma;
 	}
 
@@ -853,7 +853,7 @@  static int __exit mx1_camera_remove(struct platform_device *pdev)
 }
 
 static struct platform_driver mx1_camera_driver = {
-	.driver 	= {
+	.driver		= {
 		.name	= DRIVER_NAME,
 	},
 	.remove		= __exit_p(mx1_camera_remove),