clk: imx6sl: Add missing of_node_put()
Subsystems (3)
PATCH 1/5 clk: imx6sl: Add missing of_node_put()
After finishing using device node got from of_find_compatible_node(), of_node_put() needs to be called.
--- drivers/clk/imx/clk-imx6sl.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-imx6sl.c +1 -0
@@ -208,6 +208,7 @@ static void __init imx6sl_clocks_init(struct device_node *ccm_node) np =of_find_compatible_node (NULL ,NULL ,"fsl,imx6sl-anatop" ); base =of_iomap (np,0 );WARN_ON (!base); +of_node_put (np); anatop_base = base; hws[IMX6SL_PLL1_BYPASS_SRC ] =imx_clk_hw_mux ("pll1_bypass_src" , base +0x00 ,14 ,1 , pll_bypass_src_sels,ARRAY_SIZE (pll_bypass_src_sels));
Signature · 1 line
2.7.4
PATCH 2/5 clk: imx8mq: Add missing of_node_put()
After finishing using device node got from of_find_compatible_node(), of_node_put() needs to be called.
--- drivers/clk/imx/clk-imx8mq.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-imx8mq.c +1 -0
@@ -305,6 +305,7 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) np =of_find_compatible_node (NULL ,NULL ,"fsl,imx8mq-anatop" ); base =of_iomap (np,0 ); +of_node_put (np);if (WARN_ON (!base))return -ENOMEM ;
Signature · 1 line
2.7.4
Re: [PATCH 2/5] clk: imx8mq: Add missing of_node_put()
Quoting Anson Huang (2020-02-12 03:57:34)
Quoted 5 lines
After finishing using device node got from
of_find_compatible_node(),of_node_put()needs to be called.Signed-off-by Anson Huang <[email protected]>---
PATCH 3/5 clk: imx8mm: Add missing of_node_put()
In reply to Anson HuangAfter finishing using device node got from of_find_compatible_node(), of_node_put() needs to be called.
--- drivers/clk/imx/clk-imx8mm.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-imx8mm.c +1 -0
@@ -322,6 +322,7 @@ static int imx8mm_clocks_probe(struct platform_device *pdev) np =of_find_compatible_node (NULL ,NULL ,"fsl,imx8mm-anatop" ); base =of_iomap (np,0 ); +of_node_put (np);if (WARN_ON (!base))return -ENOMEM ;
Signature · 1 line
2.7.4
Re: [PATCH 3/5] clk: imx8mm: Add missing of_node_put()
Quoting Anson Huang (2020-02-12 03:57:35)
Quoted 5 lines
After finishing using device node got from
of_find_compatible_node(),of_node_put()needs to be called.Signed-off-by Anson Huang <[email protected]>---
PATCH 4/5 clk: imx8mn: Add missing of_node_put()
In reply to Anson HuangAfter finishing using device node got from of_find_compatible_node(), of_node_put() needs to be called.
--- drivers/clk/imx/clk-imx8mn.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-imx8mn.c +1 -0
@@ -317,6 +317,7 @@ static int imx8mn_clocks_probe(struct platform_device *pdev) np =of_find_compatible_node (NULL ,NULL ,"fsl,imx8mn-anatop" ); base =of_iomap (np,0 ); +of_node_put (np);if (WARN_ON (!base)) { ret = -ENOMEM ; goto unregister_hws;
Signature · 1 line
2.7.4
Re: [PATCH 4/5] clk: imx8mn: Add missing of_node_put()
Quoting Anson Huang (2020-02-12 03:57:36)
Quoted 5 lines
After finishing using device node got from
of_find_compatible_node(),of_node_put()needs to be called.Signed-off-by Anson Huang <[email protected]>---
PATCH 5/5 clk: imx8mp: Add missing of_node_put()
In reply to Anson HuangAfter finishing using device node got from of_find_compatible_node(), of_node_put() needs to be called.
--- drivers/clk/imx/clk-imx8mp.c | 1 + 1 file changed, 1 insertion(+)
drivers/clk/imx/clk-imx8mp.c +1 -0
@@ -434,6 +434,7 @@ static int imx8mp_clocks_probe(struct platform_device *pdev) np =of_find_compatible_node (NULL ,NULL ,"fsl,imx8mp-anatop" ); anatop_base =of_iomap (np,0 ); +of_node_put (np);if (WARN_ON (!anatop_base))return -ENOMEM ;
Signature · 1 line
2.7.4
Re: [PATCH 5/5] clk: imx8mp: Add missing of_node_put()
Quoting Anson Huang (2020-02-12 03:57:37)
Quoted 5 lines
After finishing using device node got from
of_find_compatible_node(),of_node_put()needs to be called.Signed-off-by Anson Huang <[email protected]>---
Quoting Anson Huang (2020-02-12 03:57:33)
Quoted 5 lines
After finishing using device node got from
of_find_compatible_node(),of_node_put()needs to be called.Signed-off-by Anson Huang <[email protected]>---
Shawn Guo
AppliedQuoted 4 lines · Anson Huang
After finishing using device node got from
of_find_compatible_node(),of_node_put()needs to be called.Signed-off-by Anson Huang <[email protected]>
Applied all, thanks.