]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: sdhci: pxav3: Delete GPIO handling
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 23 Sep 2018 07:03:21 +0000 (09:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commit43b7358df63adff21aa81b349d9080954bf1c372
treef72445533e142478c270abdeccb3b8e6d04ef73c
parentb007c4cec8ca169ce091600212b69e077ac0bd5d
mmc: sdhci: pxav3: Delete GPIO handling

The platform data for the PXAv3 driver allows passing a card
detect GPIO, but this code is not used in the kernel.

In order to not encourage the use of the old global GPIO
numberspace we need to remove this.

Card detect (and write protect) GPIO can easily be added into
the driver using machine descriptor tables instead, and the
descriptor-based (gpiod) variants of the slot GPIO APIs.

Cc: Jisheng Zhang <jszhang@marvell.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav3.c
include/linux/platform_data/pxa_sdhci.h