[PATCH v2] clkdev: add devm_of_clk_get()

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Mon Nov 28 01:21:57 PST 2016


Hi Russell

> > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get().
> > This patch adds it. This is based on devm_clk_get()
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> Please put this in drivers/clk/clk-devres.c, where you'll find that
> we have devm_clk_release() which is identical to your
> devm_of_clk_release().  It'll also not need the dummy definition of
> devm_of_clk_get().

OK, will do




More information about the linux-arm-kernel mailing list