usbip: Use platform_device_register_full()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 6 Oct 2023 16:43:12 +0000 (19:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Oct 2023 05:49:43 +0000 (07:49 +0200)
commitb8aaf639b403f01d132c9ac1e906c45debfb0218
treeb125cdd485e6e6340969d8597ceed239959028a9
parent97475763484245916735a1aa9a3310a01d46b008
usbip: Use platform_device_register_full()

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@linux.intel.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20231006164312.3528524-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/vhci_hcd.c