diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-01 01:25:44 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-03-15 00:34:50 +0300 |
commit | e35929e4a1ffe861f2f45e107986568c56c4f077 (patch) | |
tree | 931c9af5f622d4fb90bf932a911100bcd94c75c0 /fs/ubifs/ubifs.c | |
parent | ebac37cfbfb32ea44704fe032fadd5cf334824b7 (diff) | |
download | u-boot-e35929e4a1ffe861f2f45e107986568c56c4f077.tar.xz |
dm: blk: Rename get_device_and_partition()
Rename this function to blk_get_device_part_str(). This is a better name
because it makes it clear that the function returns a block device and
parses a string.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'fs/ubifs/ubifs.c')
-rw-r--r-- | fs/ubifs/ubifs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 168ae2b697..cdc04c662d 100644 --- a/fs/ubifs/ubifs.c +++ b/fs/ubifs/ubifs.c @@ -569,7 +569,7 @@ int ubifs_set_blk_dev(struct blk_desc *rbdd, disk_partition_t *info) } /* - * Should never happen since get_device_and_partition() already checks + * Should never happen since blk_get_device_part_str() already checks * this, but better safe then sorry. */ if (!ubifs_is_mounted()) { |