spi: pxa2xx: Move OF and ACPI ID tables closer to their user
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 21 Oct 2022 19:00:18 +0000 (22:00 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2022 12:30:18 +0000 (13:30 +0100)
commit0e1f0b1ca79fdcc03c3e6b4277a994ca894c9fcc
treef020b8684c35d06476b29243a5fe7b08b34e0873
parent07c337927e0618faf22ea98475c7162e6b7d2b35
spi: pxa2xx: Move OF and ACPI ID tables closer to their user

There is no code that uses ID tables directly, except the
struct device_driver at the end of the file. Hence, move
tables closer to its user. It's always possible to access
them via pointer to a platform device.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20221021190018.63646-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c