commit | 33cdf4901757934eb6a8fdd63a3ed9988b6f5f11 | [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 | 354e10cb2d407158b3097d253c39fd9ad23755bd [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>