usb: host: ehci-fsl: Use DRV_NAME
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 23 Jan 2023 10:00:07 +0000 (11:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jan 2023 17:11:49 +0000 (18:11 +0100)
"fsl-ehci" is used for both MODULE_ALIAS and driver name. As they have to
match use DRV_NAME in both locations.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20230123100007.1479090-1-alexander.stein@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c

index 38d06e5abfbb35e6ba2c2912f9a613b6c792bf35..d74fa5ba845b8cd335a384ae1643fa4c0e35b3da 100644 (file)
@@ -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,
        },
 };