commit | 007b4e8b705a4eff184d567c5a8b496622f9e116 | [log] [tgz] |
---|---|---|
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | Thu Apr 05 14:57:59 2018 +0200 |
committer | Boris Brezillon <boris.brezillon@bootlin.com> | Sat Apr 21 00:24:57 2018 +0200 |
tree | 4b203796f89a60c7c5ae2e3b085dc8361946eb9c | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 [diff] |
mtd: rawnand: tango: Fix struct clk memory leak Use devm_clk_get() to let Linux manage struct clk memory. Fixes: 6956e2385a16 ("add tango NAND flash controller support") Cc: stable@vger.kernel.org Reported-by: Xidong Wang <wangxidong_97@163.com> Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>