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