driver: Add device_detect_all() function
Add a device_detect_all function to detect all devices and use it
in the detect command. This makes the functionality reusable in other
code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f754335 commit 3edbc17f1ab1a13b6ddd7fcb4dee596ab41ae0b1
@Sascha Hauer Sascha Hauer authored on 23 Nov 2017
Showing 3 changed files
View
commands/detect.c
View
drivers/base/driver.c
View
include/driver.h