usb: musb: Drop unneeded resource copying
authorRob Herring <robh@kernel.org>
Wed, 15 Dec 2021 23:07:56 +0000 (17:07 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 16:00:45 +0000 (17:00 +0100)
commit9879c81b680795b45a11894e48dfa9e4be2f4426
treeab95ea626939710941c6c71e01c0113dd4d162fd
parent4de5bd9a389d886d2f58ad15512f476ffc7d639d
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>
drivers/usb/musb/da8xx.c
drivers/usb/musb/omap2430.c
drivers/usb/musb/ux500.c