]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita67653ccbd024f814c381f7f7e6e5023de9f4349
tree7289964ac490a6fd503892bcbf2165cd09d26c46
parent2ef2527ab7aa6fd7aa41c19caf6c7ffb449bc987
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