mirror of https://gitee.com/openkylin/linux.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 <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
15de7a41d3
commit
410b091727
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue