diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-01-20 08:56:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-01-20 12:06:28 +0000 |
commit | be5852457b7e85ad13b1bded9c97bed5ee1715a3 (patch) | |
tree | 712d7629896eb179868331ccb178486e9f6015c8 /drivers/spi/spidev.c | |
parent | c5d808691c2cf61c7b85003027ee35267dd74d7b (diff) | |
download | lwn-be5852457b7e85ad13b1bded9c97bed5ee1715a3.tar.gz lwn-be5852457b7e85ad13b1bded9c97bed5ee1715a3.zip |
spi: spidev: order compatibles alphabetically
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>
Diffstat (limited to 'drivers/spi/spidev.c')
-rw-r--r-- | drivers/spi/spidev.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index d8998d5e8483..898167f3b5af 100644 --- a/drivers/spi/spidev.c +++ b/drivers/spi/spidev.c @@ -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 }, {}, |