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