projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15de7a4
)
mfd: mfd_cell is now implicitly available to sh_mobile_sdhi drivers
author
Andres Salomon
<dilinger@queued.net>
Fri, 18 Feb 2011 03:07:18 +0000
(19:07 -0800)
committer
Samuel 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/sh_mobile_sdhi.c
b/drivers/mfd/sh_mobile_sdhi.c
index 0a7df44a93c042461ee567a7ba029da6c21ac55a..b511e744e526563916869861d85aa6acd1e9d1b2 100644
(file)
--- 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);