From: Geert Uytterhoeven Date: Tue, 12 Nov 2013 19:07:21 +0000 (+0100) Subject: staging: usbip: Remove superfluous name cast X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=6fafecb90c9ed2cca8ed450fed693095c0160dc2;p=deliverable%2Flinux.git staging: usbip: Remove superfluous name cast platform_device.name is "const char *" Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/usbip/vhci_hcd.c b/drivers/staging/usbip/vhci_hcd.c index 64cace681cee..aa22c631191c 100644 --- a/drivers/staging/usbip/vhci_hcd.c +++ b/drivers/staging/usbip/vhci_hcd.c @@ -1124,7 +1124,7 @@ static void the_pdev_release(struct device *dev) static struct platform_device the_pdev = { /* should be the same name as driver_name */ - .name = (char *) driver_name, + .name = driver_name, .id = -1, .dev = { .release = the_pdev_release,