linux/arch/x86/platform/olpc
Andres Salomon fa1df69168 mfd: Add mfd_clone_cell(), convert cs5535-mfd/olpc-xo1 to it
Replace mfd_shared_platform_driver_register with mfd_clone_cell.  The
former was called by an mfd client, and registered both a platform driver
and device.  The latter is called by an mfd driver, and registers only a
platform device.

The downside of this is that mfd drivers need to be modified whenever
new clients are added that share a cell; the upside is that it fits
Linux's driver model better.  It's also simpler.

This also converts cs5535-mfd/olpc-xo1 from the old API.  cs5535-mfd
now creates the olpc-xo1-{acpi,pms} devices, while olpc-xo1 binds to
them via platform drivers.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2011-03-27 00:09:30 +01:00
..
Makefile x86: OLPC: Remove extra OLPC_OPENFIRMWARE_DT indirection 2011-02-23 10:40:45 +01:00
olpc-xo1.c mfd: Add mfd_clone_cell(), convert cs5535-mfd/olpc-xo1 to it 2011-03-27 00:09:30 +01:00
olpc.c
olpc_dt.c x86: OLPC: have prom_early_alloc BUG rather than return NULL 2011-03-02 13:45:18 -07:00
olpc_ofw.c x86, olpc: Add OLPC device-tree support 2010-12-15 17:11:30 -08:00