mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
dm: blk: Rename get_dev() to blk_get_dev()
The current name is too generic. Add a 'blk_' prefix to aid searching and make its purpose clearer. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Tested-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -418,7 +418,7 @@ static int do_gpt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||
printf("'%s' is not a number\n", argv[3]);
|
||||
return CMD_RET_USAGE;
|
||||
}
|
||||
blk_dev_desc = get_dev(argv[2], dev);
|
||||
blk_dev_desc = blk_get_dev(argv[2], dev);
|
||||
if (!blk_dev_desc) {
|
||||
printf("%s: %s dev %d NOT available\n",
|
||||
__func__, argv[2], dev);
|
||||
|
Reference in New Issue
Block a user