From: Huayi Li Date: Wed, 9 Oct 2013 02:33:02 +0000 (+0800) Subject: pwm_backlight: avoid short blank screen while doing hibernation X-Git-Tag: v3.13-rc1~58^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dea1fd09246ada581a99d0669108eea94b7bfee;p=pandora-kernel.git pwm_backlight: avoid short blank screen while doing hibernation Use SIMPLE_DEV_PM_OPS macro will initialize the member "freeze" and "thaw" of pwm_backlight_pm_ops as below, .freeze = suspend_fn, .thaw = resume_fn, then during the process of making hibernation snapshot, screen will be blank at the moment of freezing, and then light at the moment of thawing. this is not the right user experience for suspending to disk. so this patch drops freeze and thaw callback, make the LCD is always lighting before the final shutdown. Signed-off-by: Huayi Li Signed-off-by: Barry Song Signed-off-by: Thierry Reding --- Reading git-diff-tree failed