From: Jingoo Han Date: Fri, 9 Nov 2012 03:04:40 +0000 (+1100) Subject: backlight: generic_bl: fix checkpatch warning X-Git-Tag: next-20121112~5^2~123 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2c557a1cfa0be65c8a12a015e200a5e23224bca9;p=karo-tx-linux.git 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 Cc: Richard Purdie Signed-off-by: Andrew Morton --- 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);