Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: misc: eud: switch to fallback compatible for device matching

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>

authored by

Krzysztof Kozlowski and committed by
Greg Kroah-Hartman
db1c0bc6 4e33059e

+1 -1
+1 -1
drivers/usb/misc/qcom_eud.c
··· 232 232 } 233 233 234 234 static const struct of_device_id eud_dt_match[] = { 235 - { .compatible = "qcom,sc7280-eud" }, 235 + { .compatible = "qcom,eud" }, 236 236 { } 237 237 }; 238 238 MODULE_DEVICE_TABLE(of, eud_dt_match);