Skip to content

Commit

Permalink
mmc: sdhci-omap: drop ->get_ro() implementation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
tpetazzoni authored and storulf committed Feb 25, 2019
1 parent 6d5cd06 commit 39ee32c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mmc/host/sdhci-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,6 @@ static int sdhci_omap_probe(struct platform_device *pdev)
goto err_put_sync;
}

host->mmc_host_ops.get_ro = mmc_gpio_get_ro;
host->mmc_host_ops.start_signal_voltage_switch =
sdhci_omap_start_signal_voltage_switch;
host->mmc_host_ops.set_ios = sdhci_omap_set_ios;
Expand Down

0 comments on commit 39ee32c

Please sign in to comment.