]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
lib/genalloc.c: correct dev_get_gen_pool documentation
authorEmilio López <emilio@elopez.com.ar>
Wed, 11 Sep 2013 21:23:51 +0000 (14:23 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:38 +0000 (15:58 -0700)
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>
lib/genalloc.c

index c522facfa3e59e0fa4aa2d4adc024cfc626d3478..26cf20be72b74013dd874abc551c3f9a412bc1b6 100644 (file)
@@ -524,7 +524,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.
  */