2013-07-18 22:57:05

by Emilio López

[permalink] [raw]
Subject: [PATCH] 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(-)

diff --git a/lib/genalloc.c b/lib/genalloc.c
index b35cfa9..1d1f82b 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -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.
*/
--
1.8.3.3