Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142054
b: refs/heads/master
c: b8cdd87
h: refs/heads/master
v: v3
  • Loading branch information
Eric Miao authored and Richard Purdie committed Apr 6, 2009
1 parent 087e273 commit d5f7c5b
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: 1a468ba10c3bdbc25ef7aa7fecda20ee27007bdf
refs/heads/master: b8cdd877f2cbcc07b5a287b7273a8eaa4c11ad04
4 changes: 2 additions & 2 deletions trunk/drivers/video/backlight/pwm_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* simple PWM based backlight control, board code has to setup
* 1) pin configuration so PWM waveforms can output
* 2) platform_data casts to the PWM id (0/1/2/3 on PXA)
* 2) platform_data being correctly configured
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
Expand Down Expand Up @@ -97,7 +97,7 @@ static int pwm_backlight_probe(struct platform_device *pdev)
} else
dev_dbg(&pdev->dev, "got pwm for backlight\n");

bl = backlight_device_register(pdev->name, &pdev->dev,
bl = backlight_device_register(dev_name(&pdev->dev), &pdev->dev,
pb, &pwm_backlight_ops);
if (IS_ERR(bl)) {
dev_err(&pdev->dev, "failed to register backlight\n");
Expand Down

0 comments on commit d5f7c5b

Please sign in to comment.