diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-12-02 11:43:28 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2018-12-17 10:26:24 +0300 |
commit | a622bb0a1e1f6224e2dae0f936006d937db94852 (patch) | |
tree | 976110fccfff41d4234445a7afeb11716861432b /include/linux/mmc/slot-gpio.h | |
parent | f54005b508b9a9d9c375b445cd48b0e792b877c6 (diff) | |
download | linux-a622bb0a1e1f6224e2dae0f936006d937db94852.tar.xz |
mmc: slot-gpio: Delete legacy GPIO handling
All host drivers are converted to look up GPIO descriptors
from device tree, ACPI or machine descriptor tables, so now
we can delete the legacy GPIO handling using hardcoded GPIO
numbers from the kernel.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mmc/slot-gpio.h')
-rw-r--r-- | include/linux/mmc/slot-gpio.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/mmc/slot-gpio.h b/include/linux/mmc/slot-gpio.h index 06607c59c4d0..feebd7aa6f5c 100644 --- a/include/linux/mmc/slot-gpio.h +++ b/include/linux/mmc/slot-gpio.h @@ -17,12 +17,7 @@ struct mmc_host; int mmc_gpio_get_ro(struct mmc_host *host); -int mmc_gpio_request_ro(struct mmc_host *host, unsigned int gpio); - int mmc_gpio_get_cd(struct mmc_host *host); -int mmc_gpio_request_cd(struct mmc_host *host, unsigned int gpio, - unsigned int debounce); - int mmc_gpiod_request_cd(struct mmc_host *host, const char *con_id, unsigned int idx, bool override_active_level, unsigned int debounce, bool *gpio_invert); |