aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/build.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 15:41:12 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 20:26:03 +0300
commit66a2af3824d856684b9865f140998a134eb4c6d8 (patch)
tree9cc410f80a9921a94222a0925da090794f6f7a53 /drivers/mtd/ubi/build.c
parentc87fbd7deb08315314654de5360c102acc8716ee (diff)
UBI: rename ubi_scan_destroy_ai
The old name is not logical anymore - rename it to 'ubi_destroy_ai()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/build.c')
-rw-r--r--drivers/mtd/ubi/build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c
index 1ae3cfa3080..2a8f26b560f 100644
--- a/drivers/mtd/ubi/build.c
+++ b/drivers/mtd/ubi/build.c
@@ -608,7 +608,7 @@ static int attach_by_scanning(struct ubi_device *ubi)
if (err)
goto out_wl;
- ubi_scan_destroy_ai(ai);
+ ubi_destroy_ai(ai);
return 0;
out_wl:
@@ -617,7 +617,7 @@ out_vtbl:
free_internal_volumes(ubi);
vfree(ubi->vtbl);
out_ai:
- ubi_scan_destroy_ai(ai);
+ ubi_destroy_ai(ai);
return err;
}