File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ static int aat2870_bl_probe(struct platform_device *pdev)
156
156
bd -> props .max_brightness = 255 ;
157
157
158
158
aat2870_bl -> brightness = 0 ;
159
- bd -> props .power = FB_BLANK_UNBLANK ;
159
+ bd -> props .power = BACKLIGHT_POWER_ON ;
160
160
bd -> props .brightness = bd -> props .max_brightness ;
161
161
162
162
ret = aat2870_bl_update_status (bd );
@@ -176,7 +176,7 @@ static void aat2870_bl_remove(struct platform_device *pdev)
176
176
struct aat2870_bl_driver_data * aat2870_bl = platform_get_drvdata (pdev );
177
177
struct backlight_device * bd = aat2870_bl -> bd ;
178
178
179
- bd -> props .power = FB_BLANK_POWERDOWN ;
179
+ bd -> props .power = BACKLIGHT_POWER_OFF ;
180
180
bd -> props .brightness = 0 ;
181
181
backlight_update_status (bd );
182
182
}
You can’t perform that action at this time.
0 commit comments