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:
parent
782872bf7a
commit
6fafecb90c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue