usb: gadget: introduce is_selfpowered for usb_gadget
authorPeter Chen <peter.chen@freescale.com>
Wed, 28 Jan 2015 08:32:24 +0000 (16:32 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 29 Jan 2015 16:32:21 +0000 (10:32 -0600)
Whether the gadget is selfpowerwed or not can be determined by composite
core, so we can use a common entry to indicate if the self-powered
is supported by gadget, and the related private variable at individual
udc driver can be deleted.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
include/linux/usb/gadget.h

Simple merge