fastboot: Remove mmcpart argument from raw_part_get_info_by_name
authorSean Anderson <sean.anderson@seco.com>
Fri, 5 Feb 2021 14:38:58 +0000 (09:38 -0500)
committerMarek Vasut <marex@denx.de>
Fri, 26 Feb 2021 14:30:55 +0000 (15:30 +0100)
commitf3cf964f2d3588281342469b9bf722fea90daa0c
treee93e35efe32612a8c8d2513e1273d759e1c1f532
parent81c1aa89e17a73a899e0e55a3459f236909f2baf
fastboot: Remove mmcpart argument from raw_part_get_info_by_name

The only thing mmcpart was used for was to pass to blk_dselect_hwpart.
This calls blk_dselect_hwpart directly from raw_part_get_info_by_name. The
error handling is dropped, but it is reintroduced in the next commit
(albeit less specificly).

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/fastboot/fb_mmc.c