Platform: OLPC: move debugfs support from x86 EC driver
authorAndres Salomon <dilinger@queued.net>
Fri, 13 Jul 2012 03:45:14 +0000 (20:45 -0700)
committerAndres Salomon <dilinger@queued.net>
Wed, 1 Aug 2012 03:27:31 +0000 (23:27 -0400)
commit6cca83d498bda0999302079bd59786370590c5c2
tree2827895b5552696013d6809c3313b02578673ef3
parent85f90cf6ca569b19cee212844b543a7355b77163
Platform: OLPC: move debugfs support from x86 EC driver

There's nothing about the debugfs interface for the EC driver that is
architecture-specific, so move it into the arch-independent driver.

The code is mostly unchanged with the exception of renamed variables, coding
style changes, and API updates.

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