aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-17 08:33:20 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-05-20 13:26:03 -0400
commitdcd85fdd1040259f0053137f252321faec0a259f (patch)
tree31409c118426f741bf2681a0223b7f5336ff1bd1 /drivers/mtd/ubi/scan.c
parent3561188ac29580bdc0e8db3cf3c029b87cf2c6cd (diff)
UBI: rename ubi_scan_find_av
The old name is not logical anymore - rename it to 'ubi_find_av()'. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r--drivers/mtd/ubi/scan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c
index 366506253502..767b857f3054 100644
--- a/drivers/mtd/ubi/scan.c
+++ b/drivers/mtd/ubi/scan.c
@@ -585,15 +585,15 @@ int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
585} 585}
586 586
587/** 587/**
588 * ubi_scan_find_av - find volume in the attaching information. 588 * ubi_find_av - find volume in the attaching information.
589 * @ai: attaching information 589 * @ai: attaching information
590 * @vol_id: the requested volume ID 590 * @vol_id: the requested volume ID
591 * 591 *
592 * This function returns a pointer to the volume description or %NULL if there 592 * This function returns a pointer to the volume description or %NULL if there
593 * are no data about this volume in the attaching information. 593 * are no data about this volume in the attaching information.
594 */ 594 */
595struct ubi_ainf_volume *ubi_scan_find_av(const struct ubi_attach_info *ai, 595struct ubi_ainf_volume *ubi_find_av(const struct ubi_attach_info *ai,
596 int vol_id) 596 int vol_id)
597{ 597{
598 struct ubi_ainf_volume *av; 598 struct ubi_ainf_volume *av;
599 struct rb_node *p = ai->volumes.rb_node; 599 struct rb_node *p = ai->volumes.rb_node;