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>
This commit is contained in:
Partha Pratim Mukherjee 2015-07-27 16:15:19 -07:00 committed by Greg Kroah-Hartman
parent e7390d7c52
commit 594069bc3d

View File

@ -274,7 +274,7 @@ int __register_chrdev(unsigned int major, unsigned int baseminor,
}
/**
* 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
*