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:06 +01:00
2011-03-23 10:42:07 +01:00
2011-03-23 10:41:55 +01:00
2010-08-12 11:27:17 +02:00
2011-03-23 10:41:55 +01:00
2011-03-23 10:42:02 +01:00
2011-03-23 10:41:48 +01:00
2011-03-23 10:42:11 +01:00
2010-10-29 00:29:26 +02:00
2011-03-23 10:41:47 +01:00
2010-08-12 11:27:19 +02:00
2011-03-23 10:41:43 +01:00
2011-03-23 10:41:56 +01:00
2011-03-27 00:09:30 +01:00
2010-10-29 00:28:56 +02:00
2011-03-23 10:41:56 +01:00
2009-09-17 09:46:54 +02:00
2011-01-14 12:37:53 +01:00
2011-01-14 12:37:54 +01:00
2011-01-14 12:37:55 +01:00
2011-03-23 10:41:56 +01:00
2011-03-23 10:41:55 +01:00
2011-03-23 10:41:50 +01:00
2011-03-24 09:50:13 -07:00
2011-03-23 10:42:08 +01:00
2011-03-23 10:42:09 +01:00
2011-01-14 12:38:01 +01:00
2010-06-03 11:33:58 +02:00
2011-03-23 10:42:03 +01:00
2011-01-14 12:38:14 +01:00
2011-03-23 10:41:43 +01:00
2011-03-23 10:41:59 +01:00
2009-11-27 21:07:18 +01:00
2010-03-30 22:02:32 +09:00
2010-12-24 16:00:17 +01:00
2011-03-27 00:09:30 +01:00
2011-03-01 17:02:22 +02:00
2010-05-28 01:37:49 +02:00
2011-03-23 10:41:59 +01:00
2009-06-17 19:41:30 +02:00
2010-05-28 01:37:50 +02:00
2011-03-23 10:41:57 +01:00
2011-03-23 10:41:56 +01:00
2011-03-22 17:17:14 +09:00
2011-01-14 12:38:02 +01:00
2010-08-12 11:28:00 +02:00
2011-03-23 10:41:57 +01:00
2010-12-29 22:02:24 +01:00
2011-03-23 10:41:56 +01:00
2011-03-23 10:41:57 +01:00
2011-03-15 08:17:22 -07:00
2011-03-23 10:41:55 +01:00
2010-12-29 08:16:46 -02:00
2010-01-18 12:30:27 +01:00
2011-03-23 10:42:09 +01:00
2010-10-29 00:30:29 +02:00
2011-03-23 10:41:45 +01:00
2011-01-14 12:37:36 +01:00
2011-03-23 10:41:55 +01:00
2011-01-14 12:38:09 +01:00
2011-03-23 10:42:05 +01:00
2010-10-29 00:28:49 +02:00
2011-01-14 12:38:11 +01:00
2010-08-12 11:27:59 +02:00
2011-03-23 10:41:49 +01:00
2010-10-29 00:30:16 +02:00
2009-11-27 21:07:18 +01:00
2010-03-07 22:17:39 +01:00
2011-03-23 10:41:45 +01:00
2010-08-12 11:28:06 +02:00
2011-03-23 10:41:59 +01:00
2011-03-24 09:50:13 -07:00
2011-01-14 12:37:39 +01:00
2011-03-23 10:42:09 +01:00
2011-03-23 10:42:00 +01:00
2009-09-17 09:46:59 +02:00
2011-03-23 10:41:45 +01:00
2010-08-12 11:28:08 +02:00
2008-10-13 21:51:55 +01:00
2010-06-03 11:33:58 +02:00
2011-01-14 12:38:10 +01:00
2009-12-13 19:21:53 +01:00
2011-03-23 10:41:56 +01:00
2011-03-23 10:42:11 +01:00
2011-03-23 10:42:11 +01:00