aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pci.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-08-18 14:59:13 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2016-09-26 21:31:16 +0200
commitc10bc3722378e5b387880c3c8baf19efc9676fe2 (patch)
treedea5406741057bf4dd4a2f33da699affa093f0a2 /drivers/mmc/host/sdhci-pci.h
parentmmc: sdio: deploy error handling instead of triggering BUG_ON (diff)
downloadlinux-dev-c10bc3722378e5b387880c3c8baf19efc9676fe2.tar.xz
linux-dev-c10bc3722378e5b387880c3c8baf19efc9676fe2.zip
mmc: sdhci-pci: Convert to use managed functions (part2)
The commit 52ac7acf412b ("mmc: sdhci-pci: Convert to use managed functions pcim_* and devm_*") converted ->probe() / ->remove() functions to use device managed resource API. Here is a follow up to cover sdhci_pci_probe_slot() and sdhci_pci_remove_slot(). Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Adrian Hunter <adrian.hunter@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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pci.h b/drivers/mmc/host/sdhci-pci.h
index 7e0788712e1a..9c7c08b93223 100644
--- a/drivers/mmc/host/sdhci-pci.h
+++ b/drivers/mmc/host/sdhci-pci.h
@@ -72,7 +72,6 @@ struct sdhci_pci_slot {
struct sdhci_host *host;
struct sdhci_pci_data *data;
- int pci_bar;
int rst_n_gpio;
int cd_gpio;
int cd_irq;