commit | 80b2502cea34a965a6b3390691854e753945ca5f | [log] [tgz] |
---|---|---|
author | Peter Chen <peter.chen@freescale.com> | Wed Jan 28 16:32:24 2015 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Thu Jan 29 10:32:21 2015 -0600 |
tree | 7aa8d93d10a221003a7c802ca75b8a29638a57e9 | |
parent | 5c7b3b02de766a8634708953e805399e3544a290 [diff] |
usb: gadget: introduce is_selfpowered for usb_gadget 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>