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>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user