summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2014-09-16 17:30:35 +0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-09-30 10:29:37 +0400
commite3e00445d478f63f42a306e549f7358b6612110b (patch)
tree5ab15c47d793fa55d35f888b8af711798c614ff9
parent849271a4e4b723c521df0f55d67614d8ffd5e125 (diff)
downloadlinux-e3e00445d478f63f42a306e549f7358b6612110b.tar.xz
UBI: Fix trivial typo in __schedule_ubi_work
s/of/if/ Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--drivers/mtd/ubi/wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index c04b7f62fae5..6654f191868e 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -835,7 +835,7 @@ repeat:
* @wrk: the work to schedule
*
* This function adds a work defined by @wrk to the tail of the pending works
- * list. Can only be used of ubi->work_sem is already held in read mode!
+ * list. Can only be used if ubi->work_sem is already held in read mode!
*/
static void __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk)
{