commit | 3f56b1321593c0081e77a3bc900177e6cf2f21d6 | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@atmel.com> | Tue Sep 27 11:00:28 2016 +0800 |
committer | Andreas Bießmann <andreas@biessmann.org> | Fri Oct 28 18:37:14 2016 +0200 |
tree | ab8b5313e793f9fda3c1c3416727babd374a17d6 | |
parent | 9e63c49a526856a1ce79c18d8e3b51f46f21f716 [diff] |
clk: clk-uclass: Assign clk->dev before call .of_xlate In order to make clk->dev available in ops->of_xlate() to get the clock ID from the 'reg' property of the clock node, assign the clk->dev before calling ops->of_xlate(). Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com> Acked-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>