dmatest: convert to dmaengine_unmap_data
authorDan Williams <dan.j.williams@intel.com>
Thu, 7 Nov 2013 00:30:10 +0000 (16:30 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 14 Nov 2013 19:04:40 +0000 (11:04 -0800)
commit4076e755dbec078c85352a8f77cec4c10181da4e
treee58bfe43d9074cb177516e80039c19765eeb4fa0
parent2d88ce76eb98c4ac4411dcb299cf61ca8999d2b9
dmatest: convert to dmaengine_unmap_data

Remove the open coded unmap and add coverage for this core functionality
to dmatest.

Also fixes up a couple places where we leaked dma mappings.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/dmatest.c