diff options
| author | Rob Herring <[email protected]> | 2021-12-15 23:07:56 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-12-17 16:00:45 +0000 |
| commit | 9879c81b680795b45a11894e48dfa9e4be2f4426 (patch) | |
| tree | ab95ea626939710941c6c71e01c0113dd4d162fd /drivers/usb/cdns3/cdns3-plat.c | |
| parent | usb: host: ohci-omap: propagate errors from platform_get_irq() (diff) | |
| download | kernel-9879c81b680795b45a11894e48dfa9e4be2f4426.tar.gz kernel-9879c81b680795b45a11894e48dfa9e4be2f4426.zip | |
usb: musb: Drop unneeded resource copying
The platform device resources are copied by the driver core, so there is
no need for the caller to do it when creating a platform device. Just pass
the parent resources to the child device directly.
Signed-off-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions
