summaryrefslogtreecommitdiff
path: root/drivers/staging/olpc_dcon/olpc_dcon.h
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2012-10-01 14:46:01 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 11:39:21 -0700
commit20b27c61b714537a4cd6d93679e9d8a5947f1769 (patch)
treeb7615775305726c2831af3a40dc4ac8724733d9b /drivers/staging/olpc_dcon/olpc_dcon.h
parentc40f20da3b3f0738ced45533c743217e00090062 (diff)
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 <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/olpc_dcon/olpc_dcon.h')
-rw-r--r--drivers/staging/olpc_dcon/olpc_dcon.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.h b/drivers/staging/olpc_dcon/olpc_dcon.h
index e3f8437a8acf..997bded2949f 100644
--- a/drivers/staging/olpc_dcon/olpc_dcon.h
+++ b/drivers/staging/olpc_dcon/olpc_dcon.h
@@ -55,7 +55,6 @@ struct dcon_priv {
wait_queue_head_t waitq;
struct work_struct switch_source;
struct notifier_block reboot_nb;
- struct notifier_block fbevent_nb;
/* Shadow register for the DCON_REG_MODE register */
u8 disp_mode;