]> git.baikalelectronics.ru Git - 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)
commitdd773835e5432e3798d50a93b227bf89effb9fc8
tree7d9c0885dc87c08521d2fcd59b73d39605006111
parente58af1d6c374838c9a95fb2a6c7ba23c4892a77d
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