diff options
author | Andy Shevchenko <[email protected]> | 2023-10-06 19:43:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-10-08 07:49:43 +0200 |
commit | b8aaf639b403f01d132c9ac1e906c45debfb0218 (patch) | |
tree | b125cdd485e6e6340969d8597ceed239959028a9 /drivers/usb/misc/usbtest.c | |
parent | 97475763484245916735a1aa9a3310a01d46b008 (diff) |
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 <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
0 files changed, 0 insertions, 0 deletions