mmc: sdhci-pci: Use macros in pci_ids definition
authorMatthias Kraemer <matthiasmartinsson@gmail.com>
Mon, 15 May 2017 21:44:17 +0000 (23:44 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:35 +0000 (10:30 +0200)
commitc949c907497267a97639fee858de9d6691296b99
tree961e3c557051bfed02121b49122dad3c302d59ed
parent667123f6c99741bd872d1ff4d7e31bdc4c8139c5
mmc: sdhci-pci: Use macros in pci_ids definition

This patch applies customized PCI_DEVICE_ macros to specify the pci_ids
instead of open-coding them within the sdhci-pci driver.

By introducing device specific macros the pci_ids table becomes much
shorter and easier to comprehend than it would be possible using the
generic version of the PCI_DEVICE_ macros.

Signed-off-by: Matthias Kraemer <matthiasmartinsson@gmail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c
drivers/mmc/host/sdhci-pci.h