diff mbox series

[1/1] usb: host: ehci-fsl: Use DRV_NAME

Message ID 20230123100007.1479090-1-alexander.stein@ew.tq-group.com (mailing list archive)
State Accepted
Commit 4ba2e7cd986270dbb44eb693199a9d3dd3edf984
Headers show
Series [1/1] usb: host: ehci-fsl: Use DRV_NAME | expand

Commit Message

Alexander Stein Jan. 23, 2023, 10 a.m. UTC
"fsl-ehci" is used for both MODULE_ALIAS and driver name. As they have to
match use DRV_NAME in both locations.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
 drivers/usb/host/ehci-fsl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alan Stern Jan. 23, 2023, 3:50 p.m. UTC | #1
On Mon, Jan 23, 2023 at 11:00:07AM +0100, Alexander Stein wrote:
> "fsl-ehci" is used for both MODULE_ALIAS and driver name. As they have to
> match use DRV_NAME in both locations.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> ---

Acked-by: Alan Stern <stern@rowland.harvard.edu>

>  drivers/usb/host/ehci-fsl.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
> index 38d06e5abfbb3..d74fa5ba845b8 100644
> --- a/drivers/usb/host/ehci-fsl.c
> +++ b/drivers/usb/host/ehci-fsl.c
> @@ -712,7 +712,7 @@ static struct platform_driver ehci_fsl_driver = {
>  	.remove = fsl_ehci_drv_remove,
>  	.shutdown = usb_hcd_platform_shutdown,
>  	.driver = {
> -		.name = "fsl-ehci",
> +		.name = DRV_NAME,
>  		.pm = EHCI_FSL_PM_OPS,
>  	},
>  };
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 38d06e5abfbb3..d74fa5ba845b8 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -712,7 +712,7 @@  static struct platform_driver ehci_fsl_driver = {
 	.remove = fsl_ehci_drv_remove,
 	.shutdown = usb_hcd_platform_shutdown,
 	.driver = {
-		.name = "fsl-ehci",
+		.name = DRV_NAME,
 		.pm = EHCI_FSL_PM_OPS,
 	},
 };