summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/fsl_qe_udc.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-11-12 20:07:24 +0100
committerFelipe Balbi <balbi@ti.com>2013-11-26 10:58:16 -0600
commit7de7174aa36f548a53c26d6841f3f7aeb449513b (patch)
tree0df5c639f6b070060a682471f852118c43f8068d /drivers/usb/gadget/fsl_qe_udc.c
parent4fbc5566c8b9b8e1c927583b89f3ff9e27ebad09 (diff)
downloadtalos-op-linux-7de7174aa36f548a53c26d6841f3f7aeb449513b.tar.gz
talos-op-linux-7de7174aa36f548a53c26d6841f3f7aeb449513b.zip
usb: gadget: remove superfluous name casts
device_driver.name is "const char *" Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/fsl_qe_udc.c')
-rw-r--r--drivers/usb/gadget/fsl_qe_udc.c2
1 files changed, 1 insertions, 1 deletions
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,
},
OpenPOWER on IntegriCloud