usb: dwc3: of-simple: Re-order resource handling in remove
authorVivek Gautam <vivek.gautam@codeaurora.org>
Wed, 19 Jul 2017 15:59:06 +0000 (17:59 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 09:36:53 +0000 (12:36 +0300)
commitd6d9c2a3eac279d0bf406573706b7e7cf9d7fdda
tree510b5a85a6f8516719ff869ac2eee22db2257b66
parente0d63c4083852e07655dfcda1320504c304218be
usb: dwc3: of-simple: Re-order resource handling in remove

Move clock handling after of_platform_depopulate to achieve
a sequence that is reverse of the probe sequence.

Cc: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/dwc3-of-simple.c