aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-17 22:07:21 -0500
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 05:41:54 -0400
commit6a3521ad3db45066d4ca38652dd0b57ea2fd0a30 (patch)
tree561ad56aa2a610b92e887499d4515a3a2aead141
parent0638d56fbb6cf8367fcf01a1febf6a191b0e0704 (diff)
mfd: mfd_cell is now implicitly available to tc6387xb drivers
No need to explicitly set the cell's platform_data/data_size. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
-rw-r--r--drivers/mfd/tc6387xb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c
index 6315f63f017d..6bf177536870 100644
--- a/drivers/mfd/tc6387xb.c
+++ b/drivers/mfd/tc6387xb.c
@@ -190,11 +190,6 @@ static int __devinit tc6387xb_probe(struct platform_device *dev)
190 190
191 printk(KERN_INFO "Toshiba tc6387xb initialised\n"); 191 printk(KERN_INFO "Toshiba tc6387xb initialised\n");
192 192
193 tc6387xb_cells[TC6387XB_CELL_MMC].platform_data =
194 &tc6387xb_cells[TC6387XB_CELL_MMC];
195 tc6387xb_cells[TC6387XB_CELL_MMC].data_size =
196 sizeof(tc6387xb_cells[TC6387XB_CELL_MMC]);
197
198 ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells, 193 ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells,
199 ARRAY_SIZE(tc6387xb_cells), iomem, irq); 194 ARRAY_SIZE(tc6387xb_cells), iomem, irq);
200 195