usb: gadget: net2280: use common is_selfpowered
authorPeter Chen <peter.chen@freescale.com>
Wed, 28 Jan 2015 08:32:35 +0000 (16:32 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 29 Jan 2015 16:35:18 +0000 (10:35 -0600)
commitc8678d9f288e7df66f50ab7be1eff1beb6bc7d70
treef4d2cead325e10b8f80572aca2d5f6c05f9e28e7
parent0bcff9eaa83228f36b8ae42cedc588e9337b7e71
usb: gadget: net2280: 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/gadget/udc/net2280.c
drivers/usb/gadget/udc/net2280.h