summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/misc.c
diff options
context:
space:
mode:
authorShmulik Ladkani <shmulik.ladkani@gmail.com>2012-07-04 11:06:03 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>2012-07-18 13:33:03 +0300
commit5c669a5bd8c0f0567127128990d01f9ae320a9ef (patch)
tree7fabe09062722a94f403e8ce0b848dbebde56897 /drivers/mtd/ubi/misc.c
parent2ce7be1b777d4f06c5b28a397cf85d9beb1bca0e (diff)
UBI: trivial: fix comment of ubi_calculate_reserved function
The function name within the comment was not aligned with the actual function name. Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/misc.c')
-rw-r--r--drivers/mtd/ubi/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/misc.c b/drivers/mtd/ubi/misc.c
index f6a7d7ac4b98..b57134d1bdee 100644
--- a/drivers/mtd/ubi/misc.c
+++ b/drivers/mtd/ubi/misc.c
@@ -92,7 +92,7 @@ int ubi_check_volume(struct ubi_device *ubi, int vol_id)
}
/**
- * ubi_calculate_rsvd_pool - calculate how many PEBs must be reserved for bad
+ * ubi_calculate_reserved - calculate how many PEBs must be reserved for bad
* eraseblock handling.
* @ubi: UBI device description object
*/