From: Andres Salomon Date: Fri, 18 Feb 2011 03:07:21 +0000 (-0800) Subject: mfd: mfd_cell is now implicitly available to tc6387xb drivers X-Git-Tag: upstream/snapshot3+hdmi~10843^2~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a3521ad3db45066d4ca38652dd0b57ea2fd0a30;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index 6315f63..6bf1775 100644 --- a/drivers/mfd/tc6387xb.c +++ b/drivers/mfd/tc6387xb.c @@ -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);