dmaengine: Make channel allocation callbacks optional
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 17 Nov 2014 13:41:59 +0000 (14:41 +0100)
committerVinod Koul <vinod.koul@intel.com>
Mon, 22 Dec 2014 06:58:55 +0000 (12:28 +0530)
commitc4b54a648e682f678c338619df848233a6babc46
tree232c90d21a2f954908c5d8e0121c9a61445f6d73
parentd2f4f99db3e9ec8b063cf2e45704e2bb95428317
dmaengine: Make channel allocation callbacks optional

Nowadays, some drivers don't have anything in there channel allocation
callbacks anymore.

Remove the BUG_ON if those callbacks aren't implemented, in order to allow
drivers to not implement them.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c