diff options
author | Simon Glass <sjg@chromium.org> | 2016-01-21 19:43:41 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-21 20:42:34 -0700 |
commit | 64b7faa7f9583d31e954c10de52275cdf2bf0ee1 (patch) | |
tree | c8a905f1f6884fa420cd3ea993b4cf9b9422d0c8 /arch/arm/include/asm/arch-imx | |
parent | 4f43673e5ac54c3c2486eee6f1c9cf5e51744f23 (diff) |
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/arch-imx')
0 files changed, 0 insertions, 0 deletions