diff options
author | Emilio López <emilio@elopez.com.ar> | 2013-09-11 17:23:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 18:58:38 -0400 |
commit | 5ab58acc40ead5521cbafcd1cc7f35170ccceeee (patch) | |
tree | ef1f051f592d0076a02197967d41d93c6bcda739 /lib | |
parent | 144308139cdce95e9c6cff3cc0ef12242181665f (diff) |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/genalloc.c | 1 |
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, | |||
524 | /** | 524 | /** |
525 | * dev_get_gen_pool - Obtain the gen_pool (if any) for a device | 525 | * dev_get_gen_pool - Obtain the gen_pool (if any) for a device |
526 | * @dev: device to retrieve the gen_pool from | 526 | * @dev: device to retrieve the gen_pool from |
527 | * @name: Optional name for the gen_pool, usually NULL | ||
528 | * | 527 | * |
529 | * Returns the gen_pool for the device if one is present, or NULL. | 528 | * Returns the gen_pool for the device if one is present, or NULL. |
530 | */ | 529 | */ |