kernel/drivers/video/backlight/hp680_bl.c
.. .. @@ -33,12 +33,8 @@ 33 33 { 34 34 unsigned long flags; 35 35 u16 v; 36 - int intensity = bd->props.brightness;36 + int intensity = backlight_get_brightness(bd);37 37 38 - if (bd->props.power != FB_BLANK_UNBLANK)39 - intensity = 0;40 - if (bd->props.fb_blank != FB_BLANK_UNBLANK)41 - intensity = 0;42 38 if (hp680bl_suspended) 43 39 intensity = 0; 44 40