summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio López <emilio@elopez.com.ar>2013-09-11 14:23:51 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:58:38 -0700
commit5ab58acc40ead5521cbafcd1cc7f35170ccceeee (patch)
treeef1f051f592d0076a02197967d41d93c6bcda739
parent144308139cdce95e9c6cff3cc0ef12242181665f (diff)
downloadblackbird-op-linux-5ab58acc40ead5521cbafcd1cc7f35170ccceeee.tar.gz
blackbird-op-linux-5ab58acc40ead5521cbafcd1cc7f35170ccceeee.zip
lib/genalloc.c: correct dev_get_gen_pool documentation
The documentation mentions a "name" parameter, which does not exist. This commit removes such mention from the function documentation. Signed-off-by: Emilio López <emilio@elopez.com.ar> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/genalloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/genalloc.c b/lib/genalloc.c
index c522facfa3e5..26cf20be72b7 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -524,7 +524,6 @@ struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order,
/**
* dev_get_gen_pool - Obtain the gen_pool (if any) for a device
* @dev: device to retrieve the gen_pool from
- * @name: Optional name for the gen_pool, usually NULL
*
* Returns the gen_pool for the device if one is present, or NULL.
*/
OpenPOWER on IntegriCloud