Skip to content

Commit

Permalink
lib/genalloc.c: correct dev_get_gen_pool documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
elopez authored and torvalds committed Sep 11, 2013
1 parent 1443081 commit 5ab58ac
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/genalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 5ab58ac

Please sign in to comment.