mmc: omap_mmc: Remove invert references

With DM_GPIO and DM_MMC translating GPIO_ACTIVE_LOW, any boards
using the 'cd-invert' option will no longer need to do this.  This
patch removes the support for 'invert' from the MMC driver.

Signed-off-by: Adam Ford <aford173@gmail.com>
[trini: Fix warning over when !DM_GPIO]
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Adam Ford
2018-09-08 08:16:23 -05:00
committed by Tom Rini
parent 57fb8b4654
commit f4df405f0e
2 changed files with 1 additions and 12 deletions

View File

@@ -68,7 +68,6 @@ struct omap_hsmmc_plat {
struct mmc_config cfg;
struct hsmmc *base_addr;
struct mmc *mmc;
bool cd_inverted;
u32 controller_flags;
const char *hw_rev;
};