summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-25 21:52:36 +0900
committerSimon Glass <sjg@chromium.org>2015-08-06 07:44:29 -0600
commit2b07f6859ad17b74ce490f371f4878add6ae5a11 (patch)
tree506866b0d88d2ff24d87cecf26e8eb3da844e811 /lib
parent608f26c51bebc68db7f2edc7590ee513d2bc5465 (diff)
downloadtalos-obmc-uboot-2b07f6859ad17b74ce490f371f4878add6ae5a11.tar.gz
talos-obmc-uboot-2b07f6859ad17b74ce490f371f4878add6ae5a11.zip
devres: add devm_kmalloc() and friends (managed memory allocators)
devm_kmalloc() is identical to kmalloc() except that the memory allocated with it is managed and will be automatically released when the device is removed/unbound. Likewise for the other variants. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud