]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: dma: merge ->start/stop into create/destroy
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 19 Jun 2013 15:38:11 +0000 (17:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:53:18 +0000 (13:53 +0300)
commit0c1ddc563b7cedad2b8a3c67946db53a9958a1a0
tree99da616e10bf13181dad379d97748980784c74e6
parentc3d3f54d9f7c6836d484a6477c1470def8ae4e96
usb: musb: dma: merge ->start/stop into create/destroy

The core code creates a controller and immediately after that it calls
the ->start() callback. This one might drop an error but nobody cares.
The same thing happens in the destroy corner: First ->stop() called
followed by destroy callback. So why not merge those two into the same
function since there is no difference.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/cppi_dma.c
drivers/usb/musb/musb_core.c
drivers/usb/musb/musb_dma.h
drivers/usb/musb/musbhsdma.c
drivers/usb/musb/tusb6010_omap.c
drivers/usb/musb/ux500_dma.c