diff options
author | Rob Herring <robh@kernel.org> | 2021-12-15 17:07:56 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-17 17:00:45 +0100 |
commit | 9879c81b680795b45a11894e48dfa9e4be2f4426 (patch) | |
tree | ab95ea626939710941c6c71e01c0113dd4d162fd /drivers/usb/musb/mediatek.c | |
parent | 4de5bd9a389d886d2f58ad15512f476ffc7d639d (diff) |
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 <robh@kernel.org>
Link: https://lore.kernel.org/r/20211215230756.2009115-2-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/mediatek.c')
0 files changed, 0 insertions, 0 deletions