* [PATCH] fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region
@ 2015-07-25 2:48 Partha Pratim Mukherjee
0 siblings, 0 replies; only message in thread
From: Partha Pratim Mukherjee @ 2015-07-25 2:48 UTC (permalink / raw)
To: viro, linux-fsdevel, linux-kernel
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>
---
fs/char_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/char_dev.c b/fs/char_dev.c
index ea06a3d..24b1425 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
*
--
1.7.10.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-07-25 2:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-25 2:48 [PATCH] fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region Partha Pratim Mukherjee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox