From: Marc Zyngier Date: Fri, 19 Jun 2009 08:50:54 +0000 (+0200) Subject: backlight: fix pwm_bl.c to notify platform code when suspending X-Git-Tag: v2.6.31-rc4~28^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e8b54229fb121946151b82e8ff3c3284bd723f;p=pandora-kernel.git backlight: fix pwm_bl.c to notify platform code when suspending When suspending, pwm-bl sets duty cycle to 0, and shuts down the pwm device. This patch ensure that the platform code is called before that (through the notify callback_, leaving a chance for the platform code to configure GPIOs (shutting off the backlight, for example), much like it is done during normal operations. Signed-off-by: Marc Zyngier Signed-off-by: Eric Miao --- Reading git-diff-tree failed