Marc Gonzalez
6840b774dc
mtd: rawnand: tango: Fix struct clk memory leak
commit 007b4e8b705a4eff184d567c5a8b496622f9e116 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-01 12:58:19 -07:00
..
2018-05-01 12:58:18 -07:00
2017-11-30 08:40:51 +00:00
2017-11-02 11:10:55 +01:00
2018-05-01 12:58:19 -07:00
2017-11-02 11:10:55 +01:00
2017-06-23 10:47:54 -07:00
2018-05-01 12:58:18 -07:00
2018-04-12 12:32:20 +02:00
2018-04-24 09:36:22 +02:00
2017-06-22 13:13:10 -07:00
2016-12-24 11:46:01 -08:00
2017-08-13 10:11:49 +02:00
2016-12-24 11:46:01 -08:00
2017-06-22 13:13:10 -07:00
2017-11-02 11:10:55 +01:00
2017-08-12 14:53:24 -07:00
2018-03-28 18:24:42 +02:00
2017-08-21 14:33:50 +02:00
2017-11-02 11:10:55 +01:00
2017-09-27 13:53:20 +02:00
2017-04-20 12:09:55 -06:00
2017-07-24 17:04:33 -07:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-15 14:00:43 +02:00
2017-08-13 10:11:49 +02:00