staging: usbip: Remove superfluous name cast

platform_device.name is "const char *"

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Geert Uytterhoeven 2013-11-12 20:07:21 +01:00 committed by Greg Kroah-Hartman
parent 782872bf7a
commit 6fafecb90c

View 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,