mfd: mfd_cell is now implicitly available to sh_mobile_sdhi drivers
authorAndres Salomon <dilinger@queued.net>
Fri, 18 Feb 2011 03:07:18 +0000 (19:07 -0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 23 Mar 2011 09:41:53 +0000 (10:41 +0100)
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>
drivers/mfd/sh_mobile_sdhi.c

index 0a7df44a93c042461ee567a7ba029da6c21ac55a..b511e744e526563916869861d85aa6acd1e9d1b2 100644 (file)
@@ -147,8 +147,6 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
 
        memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc));
        priv->cell_mmc.driver_data = mmc_data;
-       priv->cell_mmc.platform_data = &priv->cell_mmc;
-       priv->cell_mmc.data_size = sizeof(priv->cell_mmc);
 
        platform_set_drvdata(pdev, priv);