]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
backlight: generic_bl: fix checkpatch warning
authorJingoo Han <jg1.han@samsung.com>
Thu, 25 Oct 2012 01:14:57 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 1 Nov 2012 04:24:09 +0000 (15:24 +1100)
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>
drivers/video/backlight/generic_bl.c

index 8c660fcd250da09f446e07f9e0dfce3b5677a128..0ae155be9c89ad43685e2303bce941c6954273e1 100644 (file)
@@ -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);