Re: [PATCH] usb: gadget: udc: renesas_usb3: drop unused module alias
From: Geert Uytterhoeven
Date: Mon Jul 28 2025 - 04:56:46 EST
Hi Johan,
Thanks for your patch, which is now commit 7b4b5591d4551efe
("usb: gadget: udc: renesas_usb3: drop unused module alias") in
usb/usb-next.
On Thu, 24 Jul 2025 at 11:21, Johan Hovold <johan@xxxxxxxxxx> wrote:
> Since commit f3323cd03e58 ("usb: gadget: udc: renesas_usb3: remove R-Car
> H3 ES1.* handling") the driver only supports OF probe so drop the unused
> platform module alias.
>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
While I don't debate the actual change, I would like to comment on
the patch description. The driver only ever supported OF probe.
The call to soc_device_match() was just used to override the match
data for quirk handling.
> --- a/drivers/usb/gadget/udc/renesas_usb3.c
> +++ b/drivers/usb/gadget/udc/renesas_usb3.c
> @@ -3024,4 +3024,3 @@ module_platform_driver(renesas_usb3_driver);
> MODULE_DESCRIPTION("Renesas USB3.0 Peripheral driver");
> MODULE_LICENSE("GPL v2");
> MODULE_AUTHOR("Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>");
> -MODULE_ALIAS("platform:renesas_usb3");
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds