UBI: Fix trivial typo in __schedule_ubi_work
authorRichard Weinberger <richard@nod.at>
Tue, 16 Sep 2014 13:30:35 +0000 (15:30 +0200)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 30 Sep 2014 06:29:37 +0000 (09:29 +0300)
s/of/if/

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/wl.c

index c04b7f62fae5cbdacf4276a727cc86678bab836f..6654f191868e59e264270c89942cffad41fba982 100644 (file)
@@ -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)
 {