Skip to contentSkip to conversation

fs/char_dev.c: fix incorrect documentation for unregister_chrdev_region

PATCH New Partha Pratim Mukherjee 1 participant 1 message Jul 25, 2015 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 fs/char_dev.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/char_dev.c +1 -1
index ea06a3d..24b1425 100644
@@ -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
  *
Signature · 1 line
1.7.10.4