summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorPartha Pratim Mukherjee <ppm.floss@gmail.com>2015-07-27 16:15:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-05 13:49:35 -0700
commit594069bc3d333101fb187fc708d75d3ef491869a (patch)
treed81b11237e5c6b0ae702181c837c2575b7c233a2 /fs/char_dev.c
parente7390d7c52684ea338621eb3826a60e33a2bab9d (diff)
downloadlinux-594069bc3d333101fb187fc708d75d3ef491869a.tar.gz
linux-594069bc3d333101fb187fc708d75d3ef491869a.tar.bz2
linux-594069bc3d333101fb187fc708d75d3ef491869a.zip
fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region
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>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index ea06a3d0364c..24b142569ca9 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -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
*