spi: spidev: order compatibles alphabetically
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 20 Jan 2023 07:56:51 +0000 (08:56 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 20 Jan 2023 12:06:28 +0000 (12:06 +0000)
Bring some order to reduce possibilities of conflicts.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230120075651.153763-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c

index d8998d5e8483e081418a45a89471a00e048cf349..898167f3b5af40bf5998c520fdc5b96eb5ff9fce 100644 (file)
@@ -722,14 +722,14 @@ static int spidev_of_check(struct device *dev)
 }
 
 static const struct of_device_id spidev_dt_ids[] = {
-       { .compatible = "rohm,dh2228fv", .data = &spidev_of_check },
+       { .compatible = "cisco,spi-petra", .data = &spidev_of_check },
+       { .compatible = "dh,dhcom-board", .data = &spidev_of_check },
        { .compatible = "lineartechnology,ltc2488", .data = &spidev_of_check },
-       { .compatible = "semtech,sx1301", .data = &spidev_of_check },
        { .compatible = "lwn,bk4", .data = &spidev_of_check },
-       { .compatible = "dh,dhcom-board", .data = &spidev_of_check },
        { .compatible = "menlo,m53cpld", .data = &spidev_of_check },
-       { .compatible = "cisco,spi-petra", .data = &spidev_of_check },
        { .compatible = "micron,spi-authenta", .data = &spidev_of_check },
+       { .compatible = "rohm,dh2228fv", .data = &spidev_of_check },
+       { .compatible = "semtech,sx1301", .data = &spidev_of_check },
        { .compatible = "silabs,em3581", .data = &spidev_of_check },
        { .compatible = "silabs,si3210", .data = &spidev_of_check },
        {},