Browse Source

Documentation: devres: Add devm_kmalloc() et al

Commit 64c862a83... added new alloc variants to the devres managed
API. These should be included in the list of managed API found in
devres.txt.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Joe Perches <joe@perches.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Daniel Thompson 11 years ago
parent
commit
b23b35445e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Documentation/driver-model/devres.txt

+ 3 - 0
Documentation/driver-model/devres.txt

@@ -234,7 +234,10 @@ certainly invest a bit more effort into libata core layer).
   -----------------------------
   -----------------------------
 
 
 MEM
 MEM
+  devm_kmalloc()
   devm_kzalloc()
   devm_kzalloc()
+  devm_kmalloc_array()
+  devm_kcalloc()
   devm_kfree()
   devm_kfree()
   devm_kmemdup()
   devm_kmemdup()
   devm_get_free_pages()
   devm_get_free_pages()