Skip to content
Snippets Groups Projects
Commit 64b7faa7 authored by Simon Glass's avatar Simon Glass
Browse files

rockchip: clock: Add a function to find a clock by ID


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: default avatarSimon Glass <sjg@chromium.org>
parent 4f43673e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment