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>
This commit is contained in:
Richard Weinberger 2014-09-16 15:30:35 +02:00 committed by Artem Bityutskiy
parent 849271a4e4
commit e3e00445d4
1 changed files with 1 additions and 1 deletions

View File

@ -835,7 +835,7 @@ static void serve_prot_queue(struct ubi_device *ubi)
* @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)
{