]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm/dmapool.c: reuse devres_release() to free resources
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Jun 2014 23:10:02 +0000 (16:10 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:08 +0000 (16:54 -0700)
commit172cb4b3d49a1339dd67ee05e3f47972a70f556f
tree6e781deefd68777b8408be556f403a807f1cdc49
parentfe54b1fd49b712cd94a1846e993a515fc9394dcb
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/dmapool.c