Re: [PATCH] clkdev: add devm_of_clk_get()

2016-07-04 Thread Kuninori Morimoto
Hi Arnd > > @@ -501,6 +503,11 @@ static inline struct clk *of_clk_get(struct > > device_node *np, int index) > > { > > return ERR_PTR(-ENOENT); > > } > > +struct clk *devm_of_clk_get(struct device *dev, > > + struct device_node *np, int index) > > +{ > > +

Re: [PATCH] clkdev: add devm_of_clk_get()

2016-07-04 Thread Arnd Bergmann
On Monday, July 4, 2016 1:04:30 AM CEST Kuninori Morimoto wrote: > @@ -501,6 +503,11 @@ static inline struct clk *of_clk_get(struct device_node > *np, int index) > { > return ERR_PTR(-ENOENT); > } > +struct clk *devm_of_clk_get(struct device *dev, > + struct dev

Re: [PATCH] clkdev: add devm_of_clk_get()

2016-07-03 Thread kbuild test robot
Hi, [auto build test ERROR on clk/clk-next] [also build test ERROR on v4.7-rc5 next-20160701] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/clkdev-add-devm_of_clk_get/20160704

[PATCH] clkdev: add devm_of_clk_get()

2016-07-03 Thread Kuninori Morimoto
From: Kuninori Morimoto This is based on devm_clk_get() Signed-off-by: Kuninori Morimoto --- drivers/clk/clkdev.c | 26 ++ include/linux/clk.h | 7 +++ 2 files changed, 33 insertions(+) diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c index 89cc700..93a6