mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 15:41:58 +00:00
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
Block a user