diff options
author | Andres Salomon <dilinger@queued.net> | 2012-07-13 05:57:17 -0700 |
---|---|---|
committer | Andres Salomon <dilinger@queued.net> | 2012-07-31 23:27:30 -0400 |
commit | ac2504151f5af27bbf0c0362b7da5951e05dfc43 (patch) | |
tree | 21e163290e4e35e9151d50f90e58ce8c066c2f3c /drivers/sbus | |
parent | 3d26c20bae9e97c98f7240184427d3a38515d406 (diff) | |
download | linux-stable-ac2504151f5af27bbf0c0362b7da5951e05dfc43.tar.gz linux-stable-ac2504151f5af27bbf0c0362b7da5951e05dfc43.tar.bz2 linux-stable-ac2504151f5af27bbf0c0362b7da5951e05dfc43.zip |
Platform: OLPC: turn EC driver into a platform_driver
The 1.75-based OLPC EC driver already does this; let's do it for all EC
drivers. This gives us nice suspend/resume hooks, amongst other things.
We want to run the EC's suspend hooks later than other drivers (which may
be setting wakeup masks or be running EC commands). We also want to run
the EC's resume hooks earlier than other drivers (which may want to run EC
commands).
Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Paul Fox <pgf@laptop.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions