[PATCH] genalloc: correct dev_get_gen_pool documentation

From: Emilio LÃpez
Date: Thu Jul 18 2013 - 18:57:11 EST


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@xxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/