]> 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>
Wed, 14 May 2014 00:02:14 +0000 (10:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 14 May 2014 00:02:14 +0000 (10:02 +1000)
commitb0fbd2fba7fe978ad75654f2ca191bd506b6a693
tree16b0263f4231cc7e790c2962a60decf132674537
parent44771456234bdc64604c8843af78c01b456c9c30
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