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)
commit66c01883ef19bf4537b16931567b7d35c65356ad
tree99da616e10bf13181dad379d97748980784c74e6
parentff2283229da616d9a029eaa0d483fa8b0ad55e77
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