Vladimir Zapolskiy
c783a29efc
rtc-mxc: multiple fixes in rtc-mxc probe method
...
On exit paths in mxc_rtc_probe() method some resources are not freed
correctly.
This patch fixes:
* unrequested memory region containing imx RTC registers
* iounmap() isn't called on exit_free_pdata branch
* clock get rate is called for freed clock source
* clock isn't disabled on exit_put_clk branch
To simplify the fix managed device resources are used.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-07 08:38:05 -07:00
..
2010-03-30 22:02:32 +09:00
2010-03-12 15:52:28 -08:00
2009-10-11 11:20:58 -07:00
2010-03-07 22:17:16 +01:00
2010-03-07 22:17:16 +01:00
2009-09-17 09:47:24 +02:00
2010-03-30 22:02:32 +09:00
2009-09-23 07:39:46 -07:00
2010-03-30 22:02:32 +09:00
2009-02-11 14:25:36 -08:00
2010-03-30 22:02:32 +09:00
2009-12-16 07:20:00 -08:00
2010-03-30 22:02:32 +09:00
2010-01-11 09:34:07 -08:00
2010-03-30 22:02:32 +09:00
2007-05-08 11:15:18 -07:00
2009-10-11 11:20:58 -07:00
2009-02-05 12:56:46 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-16 07:19:58 -08:00
2010-03-30 22:02:32 +09:00
2009-12-17 15:45:32 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-01-06 15:59:25 -08:00
2010-03-30 22:02:32 +09:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-04-02 01:05:31 +00:00
2008-12-23 15:58:21 -08:00
2009-04-01 08:59:24 -07:00
2009-04-02 19:04:51 -07:00
2009-09-23 07:39:43 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2008-10-20 08:52:41 -07:00
2008-12-10 08:01:52 -08:00
2009-09-23 07:39:43 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:05 -07:00
2010-03-30 22:02:32 +09:00
2009-12-16 07:20:00 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-16 07:19:58 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-03-31 01:14:44 +04:00
2009-04-02 01:05:32 +00:00
2010-03-30 22:02:32 +09:00
2009-09-23 07:39:43 -07:00
2010-03-30 22:02:32 +09:00
2008-10-20 08:52:41 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2008-11-12 17:17:18 -08:00
2010-03-30 22:02:32 +09:00
2008-10-20 08:52:41 -07:00
2009-12-15 08:53:25 -08:00
2010-03-30 22:02:32 +09:00
2008-11-21 01:24:38 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2008-11-14 16:37:54 -08:00
2010-03-12 15:52:28 -08:00
2009-06-19 16:46:05 -07:00
2010-03-06 11:26:47 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-12-16 07:20:00 -08:00
2010-03-30 22:02:32 +09:00
2010-03-07 22:16:56 +01:00
2009-12-16 07:20:00 -08:00