]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/dmapool.c: reuse devres_release() to free resources
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 May 2014 00:43:17 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:17 +0000 (10:43 +1000)
commitb065732306f61be66e2e4e2c3082ce6fdf40dfa2
tree1123e6fbc49e2dc1a23ec62f7635975a7050f20f
parentaf835fa5e206610c072ef940fd13b0ea391cd371
mm/dmapool.c: reuse devres_release() to free resources

Instead of calling an additional routine in dmam_pool_destroy() rely on
what dmam_pool_release() is doing.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/dmapool.c