mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mmc: sh_mobile_sdhi: remove unused .pdata field
The struct sh_mobile_sdhi_info::pdata field was only used for platform- based card detection and isn't used anymore since the migration to GPIO- based MMC slot functions. Remove it. Signed-off-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
5a00a971a2
commit
76a411f9f9
2 changed files with 0 additions and 6 deletions
|
|
@ -156,7 +156,6 @@ static int sh_mobile_sdhi_probe(struct platform_device *pdev)
|
|||
mmc_data = &priv->mmc_data;
|
||||
|
||||
if (p) {
|
||||
p->pdata = mmc_data;
|
||||
if (p->init) {
|
||||
ret = p->init(pdev, &sdhi_ops);
|
||||
if (ret)
|
||||
|
|
@ -310,9 +309,6 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev)
|
|||
struct sh_mobile_sdhi_info *p = pdev->dev.platform_data;
|
||||
int i = 0, irq;
|
||||
|
||||
if (p)
|
||||
p->pdata = NULL;
|
||||
|
||||
tmio_mmc_host_remove(host);
|
||||
|
||||
while (1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue