]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: blk: Rename get_device() to blk_get_device_by_str()
authorSimon Glass <sjg@chromium.org>
Mon, 29 Feb 2016 22:25:43 +0000 (15:25 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 14 Mar 2016 21:34:50 +0000 (15:34 -0600)
commitebac37cfbfb32ea44704fe032fadd5cf334824b7
treefbe5d116a518343935942c1099e018d155b74427
parentdb1d9e78e6f0ea51a698f18abe4cebc5ff39b691
dm: blk: Rename get_device() to blk_get_device_by_str()

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
cmd/part.c
cmd/unzip.c
cmd/usb_mass_storage.c
disk/part.c
include/part.h
test/dm/usb.c