Skip to content

Commit 5ab58ac

Browse files
elopeztorvalds
authored andcommitted
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>
1 parent 1443081 commit 5ab58ac

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎lib/genalloc.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order,
524524
/**
525525
* dev_get_gen_pool - Obtain the gen_pool (if any) for a device
526526
* @dev: device to retrieve the gen_pool from
527-
* @name: Optional name for the gen_pool, usually NULL
528527
*
529528
* Returns the gen_pool for the device if one is present, or NULL.
530529
*/

0 commit comments

Comments
 (0)