usb: dwc3: gadget: re-factor Link state change to a function
authorFelipe Balbi <balbi@ti.com>
Mon, 2 Jan 2012 16:55:57 +0000 (18:55 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 6 Feb 2012 09:48:24 +0000 (11:48 +0200)
Most link changes will, of course, happen with
the help of a matching host HW, but in some cases
we might want to debug very low level details about
the link and exposing this to debugfs sounds like
a good plan.

This is a preparation for such setup.

Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found