summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-12-18 01:00:17 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 02:15:14 +0100
commit933bd9b3fda5482e88a84a1a3678bb1fbb11a60a (patch)
treebfa5532354ebb41028ed804d13236b618cdd31b4 /drivers/video
parentbacklight: da903x_bl: fix checkpatch warning (diff)
downloadlinux-933bd9b3fda5482e88a84a1a3678bb1fbb11a60a.tar.xz
linux-933bd9b3fda5482e88a84a1a3678bb1fbb11a60a.zip
backlight: generic_bl: fix checkpatch warning
This patch fixes the checkpatch warning as below: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/backlight/generic_bl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/generic_bl.c b/drivers/video/backlight/generic_bl.c
index 8c660fcd250d..0ae155be9c89 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);