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
..
2011-03-23 10:42:00 +01:00
2011-03-18 23:38:50 -07:00
2011-03-25 01:24:57 +09:00
2011-03-01 22:24:19 +03:00
2011-02-24 19:58:42 +01:00
2011-01-20 18:30:17 -08:00
2011-01-31 14:03:00 -08:00
2011-01-15 20:07:45 -05:00
2011-03-10 08:52:07 +01:00
2011-03-22 17:43:59 -07:00
2011-03-10 08:52:27 +01:00
2011-03-10 08:52:07 +01:00
2011-02-16 13:30:48 +01:00
2011-02-16 13:30:48 +01:00
2011-03-22 17:44:15 -07:00
2011-02-03 15:39:16 -08:00
2011-03-23 19:46:17 -07:00
2011-03-14 19:12:20 -04:00
2011-03-22 17:44:05 -07:00
2011-03-05 10:56:00 +01:00
2011-02-23 00:53:26 +00:00
2011-03-20 14:50:53 +01:00
2011-02-27 16:11:51 -08:00
2011-03-25 17:04:20 +01:00
2011-03-22 04:53:54 -03:00
2011-02-17 11:12:40 -08:00
2011-01-13 17:32:47 -08:00
2011-02-13 16:54:24 -08:00
2011-01-24 14:45:11 +10:30
2011-03-22 17:43:59 -07:00
2011-01-14 13:12:45 +00:00
2011-01-13 17:32:46 -08:00
2011-02-15 10:24:31 +01:00
2011-01-16 13:47:07 -05:00
2011-03-23 15:29:04 -04:00
2011-03-22 04:53:46 -03:00
2011-01-16 13:47:07 -05:00
2011-03-11 15:13:26 -05:00
2011-01-14 02:36:43 +00:00
2011-03-23 19:46:43 -07:00
2011-03-22 17:44:03 -07:00
2011-03-23 07:48:42 -07:00
2011-02-28 18:00:31 -08:00
2011-02-21 12:53:08 -08:00
2011-02-02 15:28:18 +01:00
2011-01-24 14:45:11 +10:30
2011-03-22 17:44:05 -07:00