diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-04-29 00:51:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-29 21:58:15 +0100 |
commit | 3046365bb470f0ec2f7cf5cb07a8ee7e4b490103 (patch) | |
tree | 66fbbb9b115c71814ff5a6e36566a47c492f0a6a /Documentation/driver-model | |
parent | 37aa48368f2508defb1976be62e1ed6ca4dde683 (diff) | |
download | talos-obmc-linux-3046365bb470f0ec2f7cf5cb07a8ee7e4b490103.tar.gz talos-obmc-linux-3046365bb470f0ec2f7cf5cb07a8ee7e4b490103.zip |
devres: introduce API "devm_kmemdup
Introduce devm_kmemdup, which uses resource managed kmalloc.
There are several request from maintainers to add this instead
of using kmemdup.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/driver-model')
-rw-r--r-- | Documentation/driver-model/devres.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 4f7897e99cba..499951873997 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt @@ -236,6 +236,7 @@ certainly invest a bit more effort into libata core layer). MEM devm_kzalloc() devm_kfree() + devm_kmemdup() IIO devm_iio_device_alloc() |