From 656d4f332c02b14e62fe3f4247a1dcdc33961de6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 15 Aug 2012 18:10:03 +0200 Subject: fbdev: sh_mobile_lcdc: Store the backlight brightness internally There's no need to query the hardware for the currenty brightness value through a platform data callback when we can cache the value internally in the LCDC driver. Signed-off-by: Laurent Pinchart --- drivers/video/sh_mobile_lcdcfb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/video/sh_mobile_lcdcfb.h') diff --git a/drivers/video/sh_mobile_lcdcfb.h b/drivers/video/sh_mobile_lcdcfb.h index 0f92f6544b94..f839adef1d90 100644 --- a/drivers/video/sh_mobile_lcdcfb.h +++ b/drivers/video/sh_mobile_lcdcfb.h @@ -94,6 +94,7 @@ struct sh_mobile_lcdc_chan { /* Backlight */ struct backlight_device *bl; + unsigned int bl_brightness; /* FB */ struct fb_info *info; -- cgit v1.2.3