diff options
author | Simon Glass <sjg@chromium.org> | 2016-02-29 15:25:44 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-03-14 15:34:50 -0600 |
commit | e35929e4a1ffe861f2f45e107986568c56c4f077 (patch) | |
tree | 931c9af5f622d4fb90bf932a911100bcd94c75c0 /cmd/part.c | |
parent | ebac37cfbfb32ea44704fe032fadd5cf334824b7 (diff) | |
download | u-boot-e35929e4a1ffe861f2f45e107986568c56c4f077.tar.gz |
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 'cmd/part.c')
-rw-r--r-- | cmd/part.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/part.c b/cmd/part.c index dd32d505b0..415b38a522 100644 --- a/cmd/part.c +++ b/cmd/part.c @@ -37,7 +37,7 @@ static int do_part_uuid(int argc, char * const argv[]) if (argc > 3) return CMD_RET_USAGE; - part = get_device_and_partition(argv[0], argv[1], &dev_desc, &info, 0); + part = blk_get_device_part_str(argv[0], argv[1], &dev_desc, &info, 0); if (part < 0) return 1; |