[PATCH] usb: dwc3: of-simple: remove unmatchable compatibles
Sascha Hauer
sha at pengutronix.de
Tue Jan 9 22:47:35 PST 2024
On Mon, Jan 08, 2024 at 02:27:21PM +0100, Ahmad Fatoum wrote:
> Only three of the compatibles listed exist in up-to-date upstream device
> trees. As barebox need not worry about backwards compatibility with
> older device trees, remove the rest that would never be matched.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> drivers/usb/dwc3/dwc3-of-simple.c | 6 ------
> 1 file changed, 6 deletions(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/usb/dwc3/dwc3-of-simple.c b/drivers/usb/dwc3/dwc3-of-simple.c
> index e8155321ad22..1e622240152e 100644
> --- a/drivers/usb/dwc3/dwc3-of-simple.c
> +++ b/drivers/usb/dwc3/dwc3-of-simple.c
> @@ -67,13 +67,7 @@ static void dwc3_of_simple_remove(struct device *dev)
> static const struct of_device_id of_dwc3_simple_match[] = {
> {.compatible = "rockchip,rk3399-dwc3"},
> {.compatible = "xlnx,zynqmp-dwc3"},
> - {.compatible = "fsl,ls1046a-dwc3"},
> {.compatible = "fsl,imx8mp-dwc3"},
> - {.compatible = "cavium,octeon-7130-usb-uctl"},
> - {.compatible = "sprd,sc9860-dwc3"},
> - {.compatible = "amlogic,meson-axg-dwc3"},
> - {.compatible = "amlogic,meson-gxl-dwc3"},
> - {.compatible = "allwinner,sun50i-h6-dwc3"},
> {/* Sentinel */}};
> MODULE_DEVICE_TABLE(of, of_dwc3_simple_match);
>
> --
> 2.39.2
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list