commands: detect: use device_detect_by_name
Instead of looking up the device ourselves let device_detect_by_name
do the work.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b22d274 commit 39ca74057d186dfd9e12cd7d78d1da4b598c4bc6
@Sascha Hauer Sascha Hauer authored on 26 Jun 2015
Showing 1 changed file
View
commands/detect.c