From: Andres Salomon Date: Fri, 18 Feb 2011 03:07:18 +0000 (-0800) Subject: mfd: mfd_cell is now implicitly available to sh_mobile_sdhi drivers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=410b09172787a930753fa5ed904d820e3a9d7a1f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git mfd: mfd_cell is now implicitly available to sh_mobile_sdhi 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/sh_mobile_sdhi.c b/drivers/mfd/sh_mobile_sdhi.c index 0a7df44a93c0..b511e744e526 100644 --- a/drivers/mfd/sh_mobile_sdhi.c +++ b/drivers/mfd/sh_mobile_sdhi.c @@ -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);