summaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-09-05 12:35:44 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-09-13 12:07:55 +0200
commit3f26660186b41c55538c4abb62c77d8541adc738 (patch)
tree6186db9e061e48ef9f94d7e4095d5d060477cb86 /commands
parent8f3057d381d48adc26701231a8c78d918a91a57c (diff)
downloadbarebox-3f26660186b41c55538c4abb62c77d8541adc738.tar.gz
driver: implement find_device() helper
For use in commands like done in the follow-up commits, it can be useful to have a best effort find_device, that not only finds by device name, but also by device tree path or alias. Add such a helper. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220905103546.1476277-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
0 files changed, 0 insertions, 0 deletions