]> git.karo-electronics.de Git - linux-beck.git/commit
devres: introduce API "devm_kstrdup"
authorManish Badarkhe <badarkhe.manish@gmail.com>
Wed, 29 Jan 2014 14:57:27 +0000 (20:27 +0530)
committerMark Brown <broonie@linaro.org>
Tue, 11 Feb 2014 16:34:32 +0000 (16:34 +0000)
commite31108cad3deabb1a63111d7aa699ca67753c01f
tree064b0ddbd24537c667b4d308286d980770f83ac5
parent38dbfb59d1175ef458d006556061adeaa8751b72
devres: introduce API "devm_kstrdup"

This patch introduces "devm_kstrdup" API so that the
device's driver can allocate memory and copy string.

Signed-off-by: Manish Badarkhe <badarkhe.manish@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/devres.c
include/linux/device.h