Previously, one would set the mfd_cell's platform_data/data_size to point to the current mfd_cell in order to pass that information along to drivers. This causes the current mfd_cell to always be available to drivers. It also adds a wrapper function for fetching the mfd cell from a platform device, similar to what originally existed for mfd devices. Drivers who previously used platform_data for other purposes can still use it; the difference is that mfd_get_data() must be used to access it (and the pdata structure is no longer allocated in mfd_add_devices). Note that mfd_get_data is intentionally vague (in name) about where the data is stored; variable name changes can come later without having to touch brazillions of 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-gpadc.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 | ||
| 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 | ||
| tps6507x.h | ||
| tps6586x.h | ||
| twl4030-codec.h | ||
| ucb1x00.h | ||
| wl1273-core.h | ||
| wm8400-audio.h | ||
| wm8400-private.h | ||
| wm8400.h | ||