From: Partha Pratim Mukherjee Date: Mon, 27 Jul 2015 23:15:19 +0000 (-0700) Subject: fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=594069bc3d333101fb187fc708d75d3ef491869a;p=linux-beck.git 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 Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- 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 *