commit | 344f366bbc96e4fc1ea5b3f7ddc3bf3b9afbf2c5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Jan 21 19:43:41 2016 -0700 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 21 20:42:34 2016 -0700 |
tree | c8a905f1f6884fa420cd3ea993b4cf9b9422d0c8 | |
parent | 398ced18a2d5901d6a58727a12ee36e3af1f174e [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>