From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 27 Sep 2016 11:55:31 -0600 Subject: [U-Boot] [PATCH v3 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate In-Reply-To: <1474945234-30540-2-git-send-email-wenyou.yang@atmel.com> References: <1474945234-30540-1-git-send-email-wenyou.yang@atmel.com> <1474945234-30540-2-git-send-email-wenyou.yang@atmel.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 26 September 2016 at 21:00, Wenyou Yang wrote: > 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 > Acked-by: Stephen Warren > --- > > Changes in v3: None > Changes in v2: > - Add Acked-by tag. > > drivers/clk/clk-uclass.c | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Simon Glass