usb: misc: eud: switch to fallback compatible for device matching
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 31 Jul 2024 05:44:38 +0000 (07:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 08:42:17 +0000 (10:42 +0200)
The bindings require two compatibles to be used: qcom,sc7280-eud
followed by fallback qcom,eud.  The convention is to use fallback
compatible in OF device ID tables, unless some device-specific quirks
are needed.

This will also simplify matching any new devices - they will use
existing OF device ID entry, instead of adding a new one.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240731054438.9073-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/qcom_eud.c

index 26e9b8749d8ab153e88017dbf5b3eb667f7bea12..19906301a4eb8aadf43ea88e27843f8e05284d98 100644 (file)
@@ -232,7 +232,7 @@ static void eud_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id eud_dt_match[] = {
-       { .compatible = "qcom,sc7280-eud" },
+       { .compatible = "qcom,eud" },
        { }
 };
 MODULE_DEVICE_TABLE(of, eud_dt_match);