usb: dwc3: gadget: use common is_selfpowered
authorPeter Chen <peter.chen@freescale.com>
Wed, 28 Jan 2015 08:32:40 +0000 (16:32 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 29 Jan 2015 16:35:40 +0000 (10:35 -0600)
commitbcdea50312b291ee3920bad43a13e42d7102f900
treee7592f1f84e723872ea9d07d4988f6c5fb0c2848
parent716013b0ab2b13fe6a176d869b9fcb9bf0f8e112
usb: dwc3: gadget: use common is_selfpowered

Delete private selfpowered variable, and use common one.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c