Commit 594069bc authored by Partha Pratim Mukherjee's avatar Partha Pratim Mukherjee Committed by Greg Kroah-Hartman
Browse files

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: default avatarPartha Pratim Mukherjee <ppm.floss@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e7390d7c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
 *