diff options
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | 2018-04-05 14:57:59 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-04-21 00:24:57 +0200 |
commit | 007b4e8b705a4eff184d567c5a8b496622f9e116 (patch) | |
tree | 4b203796f89a60c7c5ae2e3b085dc8361946eb9c /drivers/nvmem | |
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>
Diffstat (limited to 'drivers/nvmem')
0 files changed, 0 insertions, 0 deletions