From bf4ccc00b19fdd80922bdcf50984c0d49af1ce7c Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 3 May 2012 18:15:12 +0100 Subject: [PATCH] --- yaml --- r: 304075 b: refs/heads/master c: 698cd2ddd851b34e7200b4f846ae68306e11bae4 h: refs/heads/master i: 304073: 4b389211ebcd6384a421c57095547d16531ad7b0 304071: 207ebc95d85021053a719d88019b1d27c59594c1 v: v3 --- [refs] | 2 +- trunk/drivers/base/devres.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index b081edd14396..bf6f83f90c9c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 94758185689ee96694558d720d44e81b4e0abc3d +refs/heads/master: 698cd2ddd851b34e7200b4f846ae68306e11bae4 diff --git a/trunk/drivers/base/devres.c b/trunk/drivers/base/devres.c index 524bf96c289f..1741a60de117 100644 --- a/trunk/drivers/base/devres.c +++ b/trunk/drivers/base/devres.c @@ -309,6 +309,10 @@ EXPORT_SYMBOL_GPL(devres_remove); * which @match returns 1. If @match is NULL, it's considered to * match all. If found, the resource is removed atomically and freed. * + * Note that the release function for the resource will not be called, + * only the devres-allocated data will be freed. The caller becomes + * responsible for freeing any other data. + * * RETURNS: * 0 if devres is found and freed, -ENOENT if not found. */