The code to create the child platform device is essentially the same as
what platform_device_register_full() does, so change over to use
that same function to reduce duplication.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
drivers/usb/usbip/vhci_hcd.c | 42 +++++++++++-------------------------
1 file changed, 13 insertions(+), 29 deletions(-)