linux/drivers/clk/davinci
Nishka Dasgupta d55841ce11 clk: davinci: pll: Add of_node_put() in of_davinci_pll_init()
The variable child in the function of_davinci_pll_init takes the value
of of_get_child_by_name, which gets a node but does not put it. If child
is not put before the function returns it may cause a memory leak. Hence
put child before two return statements.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Link: https://lkml.kernel.org/r/20190804162824.6338-1-nishkadg.linux@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2019-08-07 15:25:45 -07:00
..
da8xx-cfgchip.c clk: davinci: cfgchip: use PTR_ERR_OR_ZERO in da8xx_cfgchip_register_div4p5 2019-04-11 11:45:02 -07:00
Makefile clk: davinci: New driver for TI DA8XX CFGCHIP clocks 2018-03-20 10:16:26 -07:00
pll-da830.c clk: davinci: pll: allow dev == NULL 2018-05-30 12:48:35 -07:00
pll-da850.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
pll-dm355.c clk: davinci: pll: allow dev == NULL 2018-05-30 12:48:35 -07:00
pll-dm365.c clk: davinci: pll: allow dev == NULL 2018-05-30 12:48:35 -07:00
pll-dm644x.c clk: davinci: pll: allow dev == NULL 2018-05-30 12:48:35 -07:00
pll-dm646x.c clk: davinci: pll: allow dev == NULL 2018-05-30 12:48:35 -07:00
pll.c clk: davinci: pll: Add of_node_put() in of_davinci_pll_init() 2019-08-07 15:25:45 -07:00
pll.h clk: davinci: Use the correct style for SPDX License Identifier 2019-05-01 13:01:11 -07:00
psc-da830.c clk: davinci: psc-da830: add a lookup entry for aemif clock 2018-07-06 12:34:54 -05:00
psc-da850.c clk: davinci: psc-da850: remove the 'davinci_nand.0" lookup 2018-07-06 12:33:57 -05:00
psc-dm355.c clk: davinci: psc: allow for dev == NULL 2018-05-30 12:48:44 -07:00
psc-dm365.c clk: davinci: psc-dm365: use two lookup entries for the aemif clock 2018-07-06 12:34:54 -05:00
psc-dm644x.c clk: davinci: psc-dm644x: use two lookup entries for the aemif clock 2018-07-06 12:34:54 -05:00
psc-dm646x.c clk: davinci: psc-dm646x: use two lookup entries for the aemif clock 2018-07-06 12:34:54 -05:00
psc.c clk: davinci: kill davinci_clk_reset_assert/deassert() 2018-10-02 08:54:14 -07:00
psc.h clk: davinci: Use the correct style for SPDX License Identifier 2019-05-01 13:01:11 -07:00