mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -48,7 +48,7 @@ int saveenv(void)
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
part = get_device_and_partition(FAT_ENV_INTERFACE,
|
||||
part = blk_get_device_part_str(FAT_ENV_INTERFACE,
|
||||
FAT_ENV_DEVICE_AND_PART,
|
||||
&dev_desc, &info, 1);
|
||||
if (part < 0)
|
||||
@@ -82,7 +82,7 @@ void env_relocate_spec(void)
|
||||
int dev, part;
|
||||
int err;
|
||||
|
||||
part = get_device_and_partition(FAT_ENV_INTERFACE,
|
||||
part = blk_get_device_part_str(FAT_ENV_INTERFACE,
|
||||
FAT_ENV_DEVICE_AND_PART,
|
||||
&dev_desc, &info, 1);
|
||||
if (part < 0)
|
||||
|
Reference in New Issue
Block a user