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>
|
||
|---|---|---|
| .. | ||
| ab8500 | ||
| pcf50633 | ||
| wm831x | ||
| wm8350 | ||
| wm8994 | ||
| 88pm860x.h | ||
| ab8500.h | ||
| abx500.h | ||
| adp5520.h | ||
| asic3.h | ||
| core.h | ||
| da903x.h | ||
| davinci_voicecodec.h | ||
| ds1wm.h | ||
| ezx-pcap.h | ||
| htc-egpio.h | ||
| htc-pasic3.h | ||
| janz.h | ||
| max8925.h | ||
| max8997-private.h | ||
| max8997.h | ||
| max8998-private.h | ||
| max8998.h | ||
| mc13xxx.h | ||
| mc13783.h | ||
| mc13892.h | ||
| mcp.h | ||
| rdc321x.h | ||
| sh_mobile_sdhi.h | ||
| stmpe.h | ||
| t7l66xb.h | ||
| tc3589x.h | ||
| tc6387xb.h | ||
| tc6393xb.h | ||
| ti_ssp.h | ||
| tmio.h | ||
| tps6105x.h | ||
| tps6507x.h | ||
| tps6586x.h | ||
| twl4030-codec.h | ||
| ucb1x00.h | ||
| wl1273-core.h | ||
| wm8400-audio.h | ||
| wm8400-private.h | ||
| wm8400.h | ||