Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262314
b: refs/heads/master
c: 4c4dd90
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Linus Torvalds committed Aug 4, 2011
1 parent 0dd5e29 commit 29499bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1646ec9db75e151b0479dbfaf972f741d0476ec7
refs/heads/master: 4c4dd903e72507c853b8c2b04b22e0d0c721fd93
4 changes: 2 additions & 2 deletions trunk/drivers/video/backlight/aat2870_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ static int aat2870_bl_probe(struct platform_device *pdev)
props.type = BACKLIGHT_RAW;
bd = backlight_device_register("aat2870-backlight", &pdev->dev,
aat2870_bl, &aat2870_bl_ops, &props);
if (!bd) {
if (IS_ERR(bd)) {
dev_err(&pdev->dev,
"Failed allocate memory for backlight device\n");
ret = -ENOMEM;
ret = PTR_ERR(bd);
goto out_kfree;
}

Expand Down

0 comments on commit 29499bb

Please sign in to comment.