diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-02-01 18:24:52 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-02-01 18:24:52 -0500 |
commit | 0ce26a1c31ca928df4dfc7504c8898b71ff9f5d5 (patch) | |
tree | 3a5bb7a0dca826c1c94f96507b1fb634bc91e435 /drivers/gpio | |
parent | 22e4d639cd05b98b27c78be497d6d42e4cfebf44 (diff) |
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 @@ | |||
31 | 31 | ||
32 | #define IOH_IRQ_BASE 0 | 32 | #define IOH_IRQ_BASE 0 |
33 | 33 | ||
34 | #define PCI_VENDOR_ID_ROHM 0x10DB | ||
35 | |||
36 | struct ioh_reg_comn { | 34 | struct ioh_reg_comn { |
37 | u32 ien; | 35 | u32 ien; |
38 | u32 istatus; | 36 | 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) | |||
437 | 437 | ||
438 | static SIMPLE_DEV_PM_OPS(pch_gpio_pm_ops, pch_gpio_suspend, pch_gpio_resume); | 438 | static SIMPLE_DEV_PM_OPS(pch_gpio_pm_ops, pch_gpio_suspend, pch_gpio_resume); |
439 | 439 | ||
440 | #define PCI_VENDOR_ID_ROHM 0x10DB | ||
441 | static const struct pci_device_id pch_gpio_pcidev_id[] = { | 440 | static const struct pci_device_id pch_gpio_pcidev_id[] = { |
442 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) }, | 441 | { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) }, |
443 | { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) }, | 442 | { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x8014) }, |