devres: Add devm_get_free_pages API
authorEli Billauer <eli.billauer@gmail.com>
Fri, 16 May 2014 08:26:35 +0000 (11:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 17:19:25 +0000 (02:19 +0900)
commit43339bed7010da6e7cf797db3216a136a974a0cd
tree3ee6929132df08a32ff8887297181da78de7715b
parent8ffca9eae662004016a6d60a2a79ce93f81f150e
devres: Add devm_get_free_pages API

devm_get_free_pages() and devm_free_pages() are the managed counterparts
for __get_free_pages() and free_pages().

Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/driver-model/devres.txt
drivers/base/devres.c
include/linux/device.h