diff options
author | Andres Salomon <dilinger@queued.net> | 2011-02-17 19:07:22 -0800 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-03-25 17:58:28 -0400 |
commit | f8d2f675e852d0296606923405bc27a2ac3aa3d1 (patch) | |
tree | ab5c7a431adc102faf41a32ca2c154c980087b2d /drivers/mfd | |
parent | 34fe7ef9f4d4e0f451d09fc70f558af5cd8cd23e (diff) |
mfd: mfd_cell is now implicitly available to janz drivers
The cell's platform_data is now accessed with a helper function;
change clients to use that, and remove the now-unused data_size.
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(cherry picked from commit 8615e4cba1d3a0f15b9a4da9f32f8fbc3488fa54)
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/janz-cmodio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mfd/janz-cmodio.c b/drivers/mfd/janz-cmodio.c index 36a166bcdb0..58de1e28788 100644 --- a/drivers/mfd/janz-cmodio.c +++ b/drivers/mfd/janz-cmodio.c @@ -87,7 +87,6 @@ static int __devinit cmodio_setup_subdevice(struct cmodio_device *priv, /* Add platform data */ pdata->modno = modno; cell->platform_data = pdata; - cell->data_size = sizeof(*pdata); /* MODULbus registers -- PCI BAR3 is big-endian MODULbus access */ res->flags = IORESOURCE_MEM; |