Viresh Kumar
75f5a536c0
watchdog: mpcore_wdt: Use devm routines
...
mpcore_wdt driver currently uses normal kzalloc, request_irq, ioremap, etc
routines. This patch replaces these routines with devm_kzalloc and
devm_request_mem_region etc, so that we don't need to handle freeing of
resources for error cases and module removal routine.
Also, request_irq is moved before registering misc device, so that we are ready
for irq as soon as device is registered.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2012-03-27 20:14:15 +02:00
..
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2011-11-28 22:50:39 +08:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 19:59:26 +02:00
2011-12-26 15:14:24 +01:00
2012-03-27 19:59:26 +02:00
2012-03-27 19:59:26 +02:00
2012-01-06 15:17:25 +01:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:08:48 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 19:59:26 +02:00
2008-05-28 11:51:32 +00:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:08:09 +02:00
2012-03-27 20:07:21 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-01-06 15:33:41 +01:00
2012-03-27 20:06:59 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:14:15 +02:00
2012-01-06 15:17:25 +01:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2011-01-12 13:51:23 +00:00
2012-03-27 20:06:02 +02:00
2010-08-05 13:26:22 +01:00
2012-03-27 19:59:26 +02:00
2012-03-27 19:59:26 +02:00
2011-03-15 16:02:27 +00:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:08:09 +02:00
2012-03-27 20:06:02 +02:00
2012-01-06 15:17:25 +01:00
2012-03-27 19:59:26 +02:00
2012-03-27 20:09:13 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:07:21 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2011-01-12 13:51:16 +00:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:08:09 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 20:07:43 +02:00
2011-07-28 08:01:04 +00:00
2009-03-25 09:07:04 +00:00
2012-03-27 20:06:02 +02:00
2012-03-27 19:59:26 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:06:02 +02:00
2012-03-27 20:08:09 +02:00
2012-03-27 20:08:09 +02:00
2012-03-27 20:13:55 +02:00