diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-17 21:23:15 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-26 02:46:43 (GMT) |
commit | c57f806bf2e745c4273dc33c9827781cff46427c (patch) | |
tree | d0df31d54e5762a985d7c19768c2dfb37f693889 /Licenses/OFL.txt | |
parent | c3f03ffbe31ae886f0eb670edf47fc208d667c19 (diff) | |
download | u-boot-fsl-qoriq-c57f806bf2e745c4273dc33c9827781cff46427c.tar.xz |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'Licenses/OFL.txt')
0 files changed, 0 insertions, 0 deletions