Skip to content

Commit

Permalink
backlight: Fix up hp680_bl build.
Browse files Browse the repository at this point in the history
Trivial build fixes.

Signed-off-by: Kristoffer Ericson <Kristoffer.Ericson@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Kristoffer Ericson authored and Paul Mundt committed Sep 21, 2007
1 parent 8c8ee82 commit eb650d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/backlight/hp680_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ static int hp680bl_remove(struct platform_device *pdev)
{
struct backlight_device *bd = platform_get_drvdata(pdev);

hp680bl_data.brightness = 0;
hp680bl_data.power = 0;
bd->props.brightness = 0;
bd->props.power = 0;
hp680bl_send_intensity(bd);

backlight_device_unregister(bd);
Expand Down

0 comments on commit eb650d6

Please sign in to comment.