Commit 6fafecb9 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman

staging: usbip: Remove superfluous name cast

platform_device.name is "const char *"
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 782872bf
...@@ -1124,7 +1124,7 @@ static void the_pdev_release(struct device *dev) ...@@ -1124,7 +1124,7 @@ static void the_pdev_release(struct device *dev)
static struct platform_device the_pdev = { static struct platform_device the_pdev = {
/* should be the same name as driver_name */ /* should be the same name as driver_name */
.name = (char *) driver_name, .name = driver_name,
.id = -1, .id = -1,
.dev = { .dev = {
.release = the_pdev_release, .release = the_pdev_release,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment