Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346365
b: refs/heads/master
c: f0f13cd
h: refs/heads/master
i:
  346363: 8c0b2c8
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent 2176b05 commit c927ee2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 8f06ce3b5e53b43c0434f823a17f5f5d4e14aa1a
refs/heads/master: f0f13cd0918a8a0d4d378727135922691a2981fe
7 changes: 3 additions & 4 deletions trunk/drivers/video/backlight/da903x_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,15 +164,14 @@ static int da903x_backlight_remove(struct platform_device *pdev)
#ifdef CONFIG_PM
static int da903x_backlight_suspend(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct backlight_device *bl = platform_get_drvdata(pdev);
struct backlight_device *bl = dev_get_drvdata(dev);

return da903x_backlight_set(bl, 0);
}

static int da903x_backlight_resume(struct device *dev)
{
struct platform_device *pdev = to_platform_device(dev);
struct backlight_device *bl = platform_get_drvdata(pdev);
struct backlight_device *bl = dev_get_drvdata(dev);

backlight_update_status(bl);
return 0;
Expand Down

0 comments on commit c927ee2

Please sign in to comment.