]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: phy: generic: remove the vbus dependency
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 8 Jul 2016 20:09:07 +0000 (22:09 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:07 +0000 (12:13 +0300)
commit77e012ac865037e5a227e69a294326b6ce93f9a4
tree423487db5dba85430d02d2a5447342f6b4354f90
parent9835a6ef1a96b203278629bbcf5099622070c32b
usb: phy: generic: remove the vbus dependency

As the last known user, ie. pxa27x_udc relying on calls to
usb_gadget_xxx() was amended to use the phy notifier, remove a bit the
USB stack adherence.

Actually the driver still uses the gadget API for structures definition,
but the implementation of USB gadget specific function usb_gadget_*() is
not necessary anymore.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-generic.c