linux/drivers/mfd
Andres Salomon fe891a008f mfd-core: Unconditionally add mfd_cell to every platform_device
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>
2011-03-23 10:41:50 +01:00
..
88pm860x-core.c mfd: Convert 88PM860x driver to new irq_ APIs 2011-01-14 12:37:51 +01:00
88pm860x-i2c.c
Kconfig mfd: Add new ab8500 GPADC driver 2011-03-23 10:41:48 +01:00
Makefile mfd: Add new ab8500 GPADC driver 2011-03-23 10:41:48 +01:00
ab3100-core.c mfd: ab3100: world-writable debugfs *_priv files 2011-03-23 10:41:47 +01:00
ab3100-otp.c
ab3550-core.c mfd: ab3500: world-writable debugfs register-* files 2011-03-23 10:41:47 +01:00
ab8500-core.c mfd: ab8500-core chip version cut 2.0 support 2011-01-14 12:38:18 +01:00
ab8500-debugfs.c mfd: ab8500: world-writable debugfs register-* files 2011-03-23 10:41:48 +01:00
ab8500-gpadc.c mfd: Add new ab8500 GPADC driver 2011-03-23 10:41:48 +01:00
ab8500-i2c.c mfd: AB8500 register access via PRCMU I2C 2010-10-29 00:29:26 +02:00
ab8500-sysctrl.c mfd: AB8500 system control driver 2011-03-23 10:41:47 +01:00
abx500-core.c
adp5520.c mfd: Convert adp5520 to dev_pm_ops 2011-03-23 10:41:43 +01:00
asic3.c mfd: Fix ASIC3 build with GENERIC_HARDIRQS_NO_DEPRECATED 2011-03-02 10:57:49 +01:00
cs5535-mfd.c mfd: Fix cs5535 warning on x86-64 2011-01-14 12:37:43 +01:00
da903x.c mfd: Fix da903x_add_subdevs error path 2010-10-29 00:28:56 +02:00
davinci_voicecodec.c mfd: Fix DaVinci voice codec device name 2011-03-02 10:57:50 +01:00
dm355evm_msp.c
ezx-pcap.c mfd: Convert ezx-pcap to new irq_ methods 2011-01-14 12:37:53 +01:00
htc-egpio.c mfd: Convert HTC EGPIO driver to irq_ API 2011-01-14 12:37:54 +01:00
htc-i2cpld.c mfd: Convert HTC I2C CPLD driver to irq_ API 2011-01-14 12:37:55 +01:00
htc-pasic3.c mfd: Remove redundant code to get htc_pasic3 irq 2010-10-29 00:29:01 +02:00
janz-cmodio.c
jz4740-adc.c mfd: Convert jz4740-adc to new irq_ methods 2011-01-14 12:38:00 +01:00
lpc_sch.c
max8925-core.c mfd: Convert max8925 to new irq_ API 2011-01-14 12:38:01 +01:00
max8925-i2c.c
max8998-irq.c mfd: MAX8998/LP3974 hibernation support 2011-01-14 12:38:14 +01:00
max8998.c mfd: Staticise non-exported symbols in MAX8998 driver 2011-03-23 10:41:43 +01:00
mc13xxx-core.c mfd: Don't open-code mc13xxx_unlock 2011-01-14 12:37:37 +01:00
mcp-core.c
mcp-sa11x0.c
menelaus.c mfd: update workqueue usages 2010-12-24 16:00:17 +01:00
mfd-core.c mfd-core: Unconditionally add mfd_cell to every platform_device 2011-03-23 10:41:50 +01:00
omap-usb-host.c usb: host: omap: common usb host core driver 2011-03-01 17:02:22 +02:00
pcf50633-adc.c
pcf50633-core.c mfd: Convert pcf50633 to dev_pm_ops 2011-03-23 10:41:44 +01:00
pcf50633-gpio.c
pcf50633-irq.c
rdc321x-southbridge.c
sh_mobile_sdhi.c mfd: sh_mobile_sdhi: activate SDIO IRQ for tmio_mmc 2011-01-08 23:52:31 -05:00
sm501.c mfd: Use printf extension %pR for struct resource 2011-01-14 12:37:38 +01:00
stmpe.c mfd: Convert SMTPE driver to new irq_ APIs 2011-01-14 12:38:02 +01:00
stmpe.h
t7l66xb.c mfd: Convert t7166xb driver to new irq_ API 2011-01-14 12:38:02 +01:00
tc3589x.c input/tc3589x: add tc3589x keypad support 2010-12-29 22:02:24 +01:00
tc6387xb.c
tc6393xb.c mfd: Convert tc6393xb driver to new irq_ APIs 2011-01-14 12:38:03 +01:00
ti-ssp.c mfd: add driver for sequencer serial port 2011-03-15 08:17:22 -07:00
timberdale.c [media] mfd: Add timberdale video-in driver to timberdale 2010-12-29 08:16:46 -02:00
timberdale.h [media] mfd: Add timberdale video-in driver to timberdale 2010-12-29 08:16:46 -02:00
tmio_core.c
tps6507x.c mfd: Fix off-by-one value range checking for tps6507x 2010-10-29 00:30:29 +02:00
tps6586x.c mfd: Invert tps6586x GPIO and subdevices initialization 2011-03-23 10:41:45 +01:00
tps65010.c mfd: Include <linux/gpio.h> instead of <asm/gpio.h> 2011-01-14 12:37:36 +01:00
twl-core.c mfd: Enabling twl4030_wdt and pwrbutton only for Triton 2011-03-23 10:41:49 +01:00
twl-core.h mfd: Fix twl-irq function declaration warnings 2010-10-29 00:30:16 +02:00
twl4030-codec.c
twl4030-irq.c mfd: Convert TWL4030 to new irq_ APIs 2011-01-14 12:38:09 +01:00
twl4030-power.c mfd: Switch twl4030-power over to defines in twl.h 2010-10-29 00:28:49 +02:00
twl6030-irq.c mfd: twl6030 irq_data conversion. 2011-01-14 12:38:11 +01:00
twl6030-pwm.c
ucb1x00-assabet.c
ucb1x00-core.c
ucb1x00-ts.c mfd: Add BTN_TOUCH event to ucb1x00-ts 2011-03-23 10:41:45 +01:00
ucb1400_core.c
vx855.c mfd: Add __devexit annotation for vx855_remove 2011-01-14 12:38:12 +01:00
wl1273-core.c mfd: Remove obsolete cleanup for wl1273 clientdata 2011-03-23 10:41:44 +01:00
wm831x-core.c mfd: Add WM8326 support 2011-01-14 12:37:39 +01:00
wm831x-i2c.c mfd: Convert WM831x away from legacy I2C PM operations 2011-01-14 12:38:17 +01:00
wm831x-irq.c mfd: Remove bitrotted genirq comment from wm831x IRQ code 2011-03-23 10:41:49 +01:00
wm831x-otp.c
wm831x-spi.c mfd: Convert WM831x SPI to use dev_pm_ops 2011-03-23 10:41:45 +01:00
wm8350-core.c
wm8350-gpio.c
wm8350-i2c.c
wm8350-irq.c mfd: Convert Wolfson MFD drivers to use irq_data accessor function 2011-01-14 12:38:10 +01:00
wm8350-regmap.c
wm8400-core.c
wm8994-core.c mfd: Put WM8994 into reset when suspending 2011-03-23 10:41:49 +01:00
wm8994-irq.c mfd: Convert Wolfson MFD drivers to use irq_data accessor function 2011-01-14 12:38:10 +01:00