diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-02-01 17:24:52 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-02-01 17:24:52 -0600 |
commit | 0ce26a1c31ca928df4dfc7504c8898b71ff9f5d5 (patch) | |
tree | 3a5bb7a0dca826c1c94f96507b1fb634bc91e435 /drivers/gpio | |
parent | 22e4d639cd05b98b27c78be497d6d42e4cfebf44 (diff) | |
download | linux-0ce26a1c31ca928df4dfc7504c8898b71ff9f5d5.tar.gz linux-0ce26a1c31ca928df4dfc7504c8898b71ff9f5d5.tar.bz2 linux-0ce26a1c31ca928df4dfc7504c8898b71ff9f5d5.zip |
PCI: Move Rohm Vendor ID to generic list
Move the Rohm Vendor ID to pci_ids.h instead of defining it in several
drivers.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Mark Brown <broonie@kernel.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-ml-ioh.c | 2 | ||||
-rw-r--r-- | drivers/gpio/gpio-pch.c | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-ml-ioh.c b/drivers/gpio/gpio-ml-ioh.c index 51c7d1b84c2e..0c076dce9e17 100644 --- a/drivers/gpio/gpio-ml-ioh.c +++ b/drivers/gpio/gpio-ml-ioh.c @@ -31,8 +31,6 @@ #define IOH_IRQ_BASE 0 -#define PCI_VENDOR_ID_ROHM 0x10DB - struct ioh_reg_comn { u32 ien; u32 istatus; diff --git a/drivers/gpio/gpio-pch.c b/drivers/gpio/gpio-pch.c index ee79e5f88b5a..1d99293096f2 100644 --- a/drivers/gpio/gpio-pch.c +++ b/drivers/gpio/gpio-pch.c @@ -437,7 +437,6 @@ static int __maybe_unused pch_gpio_resume(struct device *dev) static SIMPLE_DEV_PM_OPS(pch_gpio_pm_ops, pch_gpio_suspend, pch_gpio_resume); -#define PCI_VENDOR_ID_ROHM 0x10DB static const struct pci_device_id pch_gpio_pcidev_id[] = { { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) }, { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) }, |