From: Andres Salomon Date: Mon, 1 Oct 2012 21:46:01 +0000 (-0700) Subject: staging/olpc_dcon: drop fb_notifier code X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~84^2~1171 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20b27c61b714537a4cd6d93679e9d8a5947f1769;p=pandora-kernel.git staging/olpc_dcon: drop fb_notifier code Previously we registered a notifier block to inform us of any framebuffer device changes; if the screen was blanked or unblanked, we'd put the DCON to sleep or wake it up. Turns out that the backlight code registers a notifier block as well and calls the update_status hook, so we can just use that to put the DCON to sleep. For those status updates where the blanking isn't changed, dcon_sleep will do nothing. Signed-off-by: Andres Salomon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed