projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
685746d
)
backlight: generic_bl: fix checkpatch warning
author
Jingoo Han
<
[email protected]
>
Tue, 18 Dec 2012 00:00:17 +0000
(16:00 -0800)
committer
Linus Torvalds
<
[email protected]
>
Tue, 18 Dec 2012 01:15:14 +0000
(17:15 -0800)
This patch fixes the checkpatch warning as below:
WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: Jingoo Han <
[email protected]
>
Cc: Richard Purdie <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/backlight/generic_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/generic_bl.c
b/drivers/video/backlight/generic_bl.c
index 8c660fcd250da09f446e07f9e0dfce3b5677a128..0ae155be9c89ad43685e2303bce941c6954273e1 100644
(file)
--- 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);