summaryrefslogtreecommitdiffstats
path: root/drivers/base/devres.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-12-20 15:17:45 +0800
committerJiri Kosina <jkosina@suse.cz>2011-12-21 00:31:47 +0100
commit92f1b8518708c085ed7d07d8e7ed36411c92fa4f (patch)
tree84e74ad3e4709fad1d8fc59573721aa646c50936 /drivers/base/devres.c
parentcb54f2571ff3f5128f18efcf888ce3c051c589d9 (diff)
downloadlinux-92f1b8518708c085ed7d07d8e7ed36411c92fa4f.tar.bz2
devres: Fix a typo in devm_kfree comment
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/base/devres.c')
-rw-r--r--drivers/base/devres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/devres.c b/drivers/base/devres.c
index 65cd74832450..524bf96c289f 100644
--- a/drivers/base/devres.c
+++ b/drivers/base/devres.c
@@ -639,7 +639,7 @@ EXPORT_SYMBOL_GPL(devm_kzalloc);
* @dev: Device this memory belongs to
* @p: Memory to free
*
- * Free memory allocated with dev_kzalloc().
+ * Free memory allocated with devm_kzalloc().
*/
void devm_kfree(struct device *dev, void *p)
{