]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mmc: sdhci-omap: drop ->get_ro() implementation
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 12 Feb 2019 14:07:36 +0000 (15:07 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 07:40:58 +0000 (08:40 +0100)
commit39ee32ce486756f0a8bb0d313aa28bb5bfd0d63d
tree7d9c0885dc87c08521d2fcd59b73d39605006111
parent6d5cd068ee59fba58f49bed2fcea3634bc22f4b3
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>
drivers/mmc/host/sdhci-omap.c