USB: ohci: da8xx: Add wrappers for platform callbacks
authorAxel Haslam <ahaslam@baylibre.com>
Wed, 23 Nov 2016 18:06:46 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2016 16:31:35 +0000 (17:31 +0100)
commitf3c56fb39658a3f81ffe878628109075a023c935
tree7289964ac490a6fd503892bcbf2165cd09d26c46
parentc7a4f9f35b5770263f984ab7a6ca2dcf5de1f24f
USB: ohci: da8xx: Add wrappers for platform callbacks

To migrate to a DT based boot, we will remove the use of platform
callbacks, in favor of using the regulator framework to handle
vbus and over current.

In preparation to use a regulator instead of callbacks, move the platform
data callbacks into separate functions. This provides well defined place
to for the regulator API to coexist with the platform callbacks before
all users are converted.

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-da8xx.c