[PATCH] libmtd: fix a comment typo in dev_node2num

Rock Lee rockdotlee at gmail.com
Sun Nov 12 23:05:34 PST 2017


Signed-off-by: Rock Lee <rockdotlee at gmail.com>
---
 lib/libmtd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libmtd.c b/lib/libmtd.c
index 1ecb31b..86c89ae 100644
--- a/lib/libmtd.c
+++ b/lib/libmtd.c
@@ -422,7 +422,7 @@ static int type_str2int(const char *str)
 }

 /**
- * dev_node2num - find UBI device number by its character device node.
+ * dev_node2num - find MTD device number by its character device node.
  * @lib: MTD library descriptor
  * @node: name of the MTD device node
  * @mtd_num: MTD device number is returned here
-- 
1.9.1



More information about the linux-mtd mailing list