mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-15 22:42:08 +01:00
The current approach of using uclass_get_device() is error-prone. Another clock (for example a fixed-clock) may cause it to break. Add a function that does a proper search. Signed-off-by: Simon Glass <sjg@chromium.org>