]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Platform: OLPC: move global variables into priv struct
authorAndres Salomon <dilinger@queued.net>
Sat, 14 Jul 2012 00:10:45 +0000 (17:10 -0700)
committerAndres Salomon <dilinger@queued.net>
Wed, 1 Aug 2012 03:27:31 +0000 (23:27 -0400)
commit99ecb01cdf0378783b317b8f839ac9cc5e128aa5
treead946e550be33d0e1d5911abcec5f4c5f7a8df9f
parent6cca83d498bda0999302079bd59786370590c5c2
Platform: OLPC: move global variables into priv struct

Populate olpc_ec_priv with variables that were previously global.  This
makes things a tad bit clearer, IMO.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Paul Fox <pgf@laptop.org>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
drivers/platform/olpc/olpc-ec.c