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-04-08 14:26:26 +02:00
2017-11-02 11:10:55 +01:00
2018-03-03 10:24:23 +01:00
2018-03-03 10:24:23 +01:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-23 16:49:18 +02:00
2018-02-03 17:38:52 +01:00
2017-09-08 18:26:47 -07:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2018-03-28 18:24:43 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2016-07-11 08:40:19 +02:00
2016-01-07 09:35:11 -08:00
2017-08-13 10:11:49 +02:00
2017-08-23 16:49:18 +02:00
2017-09-18 12:07:30 +02:00
2017-08-23 17:00:12 +02:00
2017-11-02 11:10:55 +01:00
2017-08-13 10:11:49 +02:00
2017-11-30 08:40:52 +00:00
2017-06-01 10:09:37 +02:00
2017-08-13 10:11:49 +02:00
2017-08-23 17:00:12 +02:00
2017-08-13 10:11:49 +02:00
2018-03-19 08:42:49 +01:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-23 17:00:12 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-09-01 15:34:30 +02:00
2017-08-13 10:11:49 +02:00
2017-11-30 08:40:51 +00:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-11-30 08:40:52 +00:00
2015-12-18 10:16:17 -08:00
2017-08-23 17:00:12 +02:00
2017-08-23 17:00:12 +02:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2018-01-10 09:31:22 +01:00
2017-08-23 17:00:12 +02:00
2016-01-07 10:23:41 -08:00
2017-08-13 10:11:49 +02:00
2017-08-13 10:11:49 +02:00
2017-08-23 17:00:12 +02:00
2017-08-23 17:00:12 +02:00
2017-08-13 10:11:49 +02:00
2014-08-19 11:53:08 -07:00
2017-08-13 10:11:49 +02:00
2018-02-16 20:22:57 +01:00
2018-05-01 12:58:19 -07:00
2017-08-23 17:00:12 +02:00
2017-08-13 10:11:49 +02:00
2018-02-22 15:42:30 +01:00
2017-08-13 10:11:49 +02:00