staging: usbip: Remove superfluous name cast
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 12 Nov 2013 19:07:21 +0000 (20:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Nov 2013 23:30:33 +0000 (15:30 -0800)
platform_device.name is "const char *"

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/usbip/vhci_hcd.c

index 64cace6..aa22c63 100644 (file)
@@ -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,