diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-10-06 19:43:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-08 07:49:43 +0200 |
commit | b8aaf639b403f01d132c9ac1e906c45debfb0218 (patch) | |
tree | b125cdd485e6e6340969d8597ceed239959028a9 /drivers/mfd | |
parent | 97475763484245916735a1aa9a3310a01d46b008 (diff) | |
download | linux-b8aaf639b403f01d132c9ac1e906c45debfb0218.tar.gz linux-b8aaf639b403f01d132c9ac1e906c45debfb0218.tar.bz2 linux-b8aaf639b403f01d132c9ac1e906c45debfb0218.zip |
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>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions