Skip to contentSkip to conversation

tc6387xb: mfd_cell is now implicitly available to drivers

PATCH In review Andres Salomon 1 participant 1 message Feb 12, 2011 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 14/17 tc6387xb: mfd_cell is now implicitly available to drivers

No need to explicitly set the cell's platform_data/data_size.

---
 drivers/mfd/tc6387xb.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
drivers/mfd/tc6387xb.c +0 -5
index 6315f63..6bf1775 100644
@@ -190,11 +190,6 @@ static int __devinit tc6387xb_probe(struct platform_device *dev)
 
 	printk(KERN_INFO "Toshiba tc6387xb initialised\n");
 
-	tc6387xb_cells[TC6387XB_CELL_MMC].platform_data =
-		&tc6387xb_cells[TC6387XB_CELL_MMC];
-	tc6387xb_cells[TC6387XB_CELL_MMC].data_size =
-		sizeof(tc6387xb_cells[TC6387XB_CELL_MMC]);
-
 	ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells,
 			      ARRAY_SIZE(tc6387xb_cells), iomem, irq);
 
Signature · 1 line
1.7.2.3