Skip to content

Commit 39ee32c

Browse files
tpetazzonistorulf
authored andcommitted
mmc: sdhci-omap: drop ->get_ro() implementation
The SDHCI core is now properly checking for the state of a WP GPIO, so there is no longer any need for the sdhci-omap code to implement ->get_ro() using mmc_gpio_get_ro(). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent 6d5cd06 commit 39ee32c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mmc/host/sdhci-omap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,6 @@ static int sdhci_omap_probe(struct platform_device *pdev)
10971097
goto err_put_sync;
10981098
}
10991099

1100-
host->mmc_host_ops.get_ro = mmc_gpio_get_ro;
11011100
host->mmc_host_ops.start_signal_voltage_switch =
11021101
sdhci_omap_start_signal_voltage_switch;
11031102
host->mmc_host_ops.set_ios = sdhci_omap_set_ios;

0 commit comments

Comments
 (0)