backports: add devm_kmalloc()
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 1 Jan 2014 18:03:52 +0000 (19:03 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 18 Jan 2014 12:42:36 +0000 (13:42 +0100)
commitb664d51b8355aebc58db69973ac7189e1b5d6c39
treeaa003662470e6969cfa26a71792a575cb6851110
parent3c71184d3a2843c9a1d5a289c71bfbbc126d71fd
backports: add devm_kmalloc()

devm_kmalloc() was added in kernel 3.13. To backport it we replace the
calls with devm_kzalloc() instead.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/device.h