devres: Add devm_kasprintf and devm_kvasprintf API
authorHimangi Saraogi <himangi774@gmail.com>
Wed, 16 Jul 2014 20:57:52 +0000 (02:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:26:44 +0000 (18:26 -0700)
commit75f2a4ead5d5890ada9c2663a70fb58613c0d9f2
treea1eecedee8e357a88fb7a8ebdcf179946dbd5bc2
parent871379dc0fd9748892bdf10536f2664751a7819c
devres: Add devm_kasprintf and devm_kvasprintf API

devm_kasprintf() and devm_kvasprintf() are the managed counterparts
for kasprintf() and kvasprintf().

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/devres.c
include/linux/device.h