]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: s3c-hsudc: use udc_start and udc_stop functions
authorHeiko Stübner <heiko@sntech.de>
Mon, 19 Dec 2011 18:41:45 +0000 (19:41 +0100)
committerFelipe Balbi <balbi@ti.com>
Wed, 21 Dec 2011 11:24:39 +0000 (13:24 +0200)
commit8cc4a5f166fca83b5ecceac74e73d6ef360823b9
treef4cdbbb75e2424f3ab8b57965f9df03fb9f44167
parentfa5436031ad10308d41473671fdc2609f99ba52f
usb: gadget: s3c-hsudc: use udc_start and udc_stop functions

udc_start and udc_stop reduce code duplication in comparison to
start and stop generalising calls done by all drivers
(i.e. bind and unbind) and moving these calls to common code.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsudc.c