]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: spidev: Align ordering of spidev_spi_ids[] and spidev_dt_ids[]
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 17 Dec 2024 11:42:25 +0000 (12:42 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 Dec 2024 13:27:50 +0000 (13:27 +0000)
commite490ceff433fbc111404ce040bd9e8f41f12af16
tree912a7428b8b5c2f3b781ef28e7730ef8757df29f
parent8011709906d0d6ff1ba9589de5a906bf6e430782
spi: spidev: Align ordering of spidev_spi_ids[] and spidev_dt_ids[]

There is a 1:1 correspondance between the list of spi device-ids and the
devicetree compatibles. The latter is ordered alphabetically by vendor
and device. To simplify keeping the two lists in sync, mention the
vendor in a comment for the spi device-ids and order alphabetically,
too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20241217114226.1223724-2-u.kleine-koenig@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c