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

dm: core: Add a way to find a device by its driver


Some SoCs have a single clock device. Provide a way to find it given its
driver name. This is handled by the linker so will fail if the name is not
found, avoiding strange errors when names change and do not match. It is
also faster than a string comparison.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent c3f03ffb
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