[PATCH 05/17] backlight: generic_bl: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below:

WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Jingoo Han 
Cc: Richard Purdie 
---
 drivers/video/backlight/generic_bl.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/backlight/generic_bl.c 
b/drivers/video/backlight/generic_bl.c
index 8c660fc..0ae155b 100644
--- a/drivers/video/backlight/generic_bl.c
+++ b/drivers/video/backlight/generic_bl.c
@@ -97,8 +97,8 @@ static int genericbl_probe(struct platform_device *pdev)
props.max_brightness = machinfo->max_intensity;
bd = backlight_device_register(name, >dev, NULL, _ops,
   );
-   if (IS_ERR (bd))
-   return PTR_ERR (bd);
+   if (IS_ERR(bd))
+   return PTR_ERR(bd);
 
platform_set_drvdata(pdev, bd);
 
-- 
1.7.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 05/17] backlight: generic_bl: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below:

WARNING: space prohibited between function name and open parenthesis '('

Signed-off-by: Jingoo Han jg1@samsung.com
Cc: Richard Purdie rpur...@rpsys.net
---
 drivers/video/backlight/generic_bl.c |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/backlight/generic_bl.c 
b/drivers/video/backlight/generic_bl.c
index 8c660fc..0ae155b 100644
--- a/drivers/video/backlight/generic_bl.c
+++ b/drivers/video/backlight/generic_bl.c
@@ -97,8 +97,8 @@ static int genericbl_probe(struct platform_device *pdev)
props.max_brightness = machinfo-max_intensity;
bd = backlight_device_register(name, pdev-dev, NULL, genericbl_ops,
   props);
-   if (IS_ERR (bd))
-   return PTR_ERR (bd);
+   if (IS_ERR(bd))
+   return PTR_ERR(bd);
 
platform_set_drvdata(pdev, bd);
 
-- 
1.7.1


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/