genalloc: correct dev_get_gen_pool documentation
PATCH 1/1 genalloc: 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 <[email protected]>
--- lib/genalloc.c | 1 - 1 file changed, 1 deletion(-)
lib/genalloc.c +0 -1
@@ -519,7 +519,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. */
Signature · 1 line
1.8.3.3