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>
This commit is contained in:
parent
685746d407
commit
933bd9b3fd
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue