]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region
authorPartha Pratim Mukherjee <ppm.floss@gmail.com>
Mon, 27 Jul 2015 23:15:19 +0000 (16:15 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 20:49:35 +0000 (13:49 -0700)
The current documentation for unregister_chrdev_region says that it return
a range of device numbers which is incorrect.  Instead it unregister a
range of device numbers.  Fix the documentation to make this clear.

Signed-off-by: Partha Pratim Mukherjee <ppm.floss@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/char_dev.c

index ea06a3d0364cc218d5dad4885023d1829f28f214..24b142569ca9b5beea55b5cf6224b8ad81e6a16c 100644 (file)
@@ -274,7 +274,7 @@ out2:
 }
 
 /**
- * unregister_chrdev_region() - return a range of device numbers
+ * unregister_chrdev_region() - unregister a range of device numbers
  * @from: the first in the range of numbers to unregister
  * @count: the number of device numbers to unregister
  *