diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-10-14 15:26:12 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2021-10-19 12:43:21 +0200 |
commit | 67f7296e13b58e2555b358f9f4fecaf3b2091f73 (patch) | |
tree | 92b2a6ff4893e3e5c2f970b4975e9516feb92d4e /drivers/mmc/host/sdhci-pci.h | |
parent | mmc: sdhci-pci: Remove dead code (struct sdhci_pci_data et al) (diff) | |
download | linux-67f7296e13b58e2555b358f9f4fecaf3b2091f73.tar.xz linux-67f7296e13b58e2555b358f9f4fecaf3b2091f73.zip |
mmc: sdhci-pci: Remove dead code (cd_gpio, cd_irq et al)
The last user of this struct gone couple of releases ago.
Remove the dead code for good and encourage people to use
MMC core functionality for that.
The removal is dependent on the previous removal of the
struct sdhci_pci_data.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20211014132613.27861-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.h')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h index 15b36cd47860..8bb3b9c78589 100644 --- a/drivers/mmc/host/sdhci-pci.h +++ b/drivers/mmc/host/sdhci-pci.h @@ -158,8 +158,6 @@ struct sdhci_pci_slot { struct sdhci_host *host; int rst_n_gpio; - int cd_gpio; - int cd_irq; int cd_idx; bool cd_override_level; |