diff options
-rw-r--r-- | drivers/video/backlight/hp680_bl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c index 0899fccbd570..fbea2bd129c7 100644 --- a/drivers/video/backlight/hp680_bl.c +++ b/drivers/video/backlight/hp680_bl.c | |||
@@ -125,8 +125,8 @@ static int hp680bl_remove(struct platform_device *pdev) | |||
125 | { | 125 | { |
126 | struct backlight_device *bd = platform_get_drvdata(pdev); | 126 | struct backlight_device *bd = platform_get_drvdata(pdev); |
127 | 127 | ||
128 | hp680bl_data.brightness = 0; | 128 | bd->props.brightness = 0; |
129 | hp680bl_data.power = 0; | 129 | bd->props.power = 0; |
130 | hp680bl_send_intensity(bd); | 130 | hp680bl_send_intensity(bd); |
131 | 131 | ||
132 | backlight_device_unregister(bd); | 132 | backlight_device_unregister(bd); |