usb: musb: gadget: use common is_selfpowered
authorPeter Chen <peter.chen@freescale.com>
Wed, 28 Jan 2015 08:32:41 +0000 (16:32 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 29 Jan 2015 16:35:43 +0000 (10:35 -0600)
commitdadac9861f466635c3ac0851f2a39be68fa10a71
tree0ac4f329d7c25b75dc20da8a504774a51ebee1be
parentbcdea50312b291ee3920bad43a13e42d7102f900
usb: musb: 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/musb/musb_gadget.c
drivers/usb/musb/musb_gadget_ep0.c