]> git.baikalelectronics.ru Git - kernel.git/commit
spi: pxa2xx-pci: Replace enum with direct use of PCI IDs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 25 Feb 2022 17:23:46 +0000 (19:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 12:10:23 +0000 (12:10 +0000)
commit7bec9f1fc8343a50e7dc1e335cf96a7ff16163d6
tree8563599023395f2cd912b550b3471acd31afd5f9
parent5574b715dded79c6f3ac73d16144ee05c17c8c73
spi: pxa2xx-pci: Replace enum with direct use of PCI IDs

Instead of creating an abstraction on top of PCI IDs, just use them directly.
The corresponding enum can be dropped.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220225172350.69797-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx-pci.c