Skip to contentSkip to conversation

genalloc: correct dev_get_gen_pool documentation

PATCH New Emilio López 1 participant 1 message Jul 18, 2013 Library code

lore
Share & tools
lore
#0 lore raw

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.

---
 lib/genalloc.c | 1 -
 1 file changed, 1 deletion(-)
lib/genalloc.c +0 -1
index b35cfa9..1d1f82b 100644
@@ -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