[U-Boot] [PATCH v2 10/32] dm: blk: Rename get_device() to blk_get_device_by_str()

Simon Glass sjg at chromium.org
Sun Mar 13 02:52:40 CET 2016


On 29 February 2016 at 15:25, Simon Glass <sjg at chromium.org> wrote:
> The current name is too generic. The function returns a block device based
> on a provided string. Rename it to aid searching and make its purpose
> clearer. Also add a few comments.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2:
> - Rename to blk_get_device_by_str()
>
>  cmd/part.c             |  6 +++---
>  cmd/unzip.c            |  2 +-
>  cmd/usb_mass_storage.c |  2 +-
>  disk/part.c            |  6 +++---
>  include/part.h         | 34 ++++++++++++++++++++++++++++++----
>  test/dm/usb.c          |  2 +-
>  6 files changed, 39 insertions(+), 13 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list