Commit eb650d67 authored by Kristoffer Ericson's avatar Kristoffer Ericson Committed by Paul Mundt

backlight: Fix up hp680_bl build.

Trivial build fixes.
Signed-off-by: default avatarKristoffer Ericson <Kristoffer.Ericson@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 8c8ee825
...@@ -125,8 +125,8 @@ static int hp680bl_remove(struct platform_device *pdev) ...@@ -125,8 +125,8 @@ static int hp680bl_remove(struct platform_device *pdev)
{ {
struct backlight_device *bd = platform_get_drvdata(pdev); struct backlight_device *bd = platform_get_drvdata(pdev);
hp680bl_data.brightness = 0; bd->props.brightness = 0;
hp680bl_data.power = 0; bd->props.power = 0;
hp680bl_send_intensity(bd); hp680bl_send_intensity(bd);
backlight_device_unregister(bd); backlight_device_unregister(bd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment