From: Geert Uytterhoeven Date: Tue, 12 Nov 2013 19:07:24 +0000 (+0100) Subject: usb: gadget: remove superfluous name casts X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7de7174aa36f548a53c26d6841f3f7aeb449513b;p=linux-beck.git usb: gadget: remove superfluous name casts device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/fsl_qe_udc.c b/drivers/usb/gadget/fsl_qe_udc.c index 807127d56fa3..6315ee698d4d 100644 --- a/drivers/usb/gadget/fsl_qe_udc.c +++ b/drivers/usb/gadget/fsl_qe_udc.c @@ -2717,7 +2717,7 @@ MODULE_DEVICE_TABLE(of, qe_udc_match); static struct platform_driver udc_driver = { .driver = { - .name = (char *)driver_name, + .name = driver_name, .owner = THIS_MODULE, .of_match_table = qe_udc_match, }, diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index 36ac7cfba91d..b7dea4eec32c 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c @@ -2666,7 +2666,7 @@ static struct platform_driver udc_driver = { .suspend = fsl_udc_suspend, .resume = fsl_udc_resume, .driver = { - .name = (char *)driver_name, + .name = driver_name, .owner = THIS_MODULE, /* udc suspend/resume called from OTG driver */ .suspend = fsl_udc_otg_suspend,