bbu: Expose bbu_find_handler_by_*() functions
Expose bbu_find_handler_by_device() and bbu_find_handler_by_name() as
public functions and convert the only user of
barebox_update_handler_exists() to use the former function instead.

With this done, barebox_update_handler_exists() is no longer used
anywhere in the code and can be removed.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b73bc6e commit 76b44a34fc00772319395a84e67b8f816804f5bc
@Andrey Smirnov Andrey Smirnov authored on 8 Oct 2018
Sascha Hauer committed on 8 Oct 2018
Showing 3 changed files
View
common/bbu.c
View
drivers/usb/gadget/f_fastboot.c
View
include/bbu.h