]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: mpcore_wdt: Allow platform_get_irq() to fail
authorViresh Kumar <viresh.kumar@st.com>
Mon, 12 Mar 2012 04:22:00 +0000 (09:52 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 27 Mar 2012 18:14:20 +0000 (20:14 +0200)
commit5fdd07d4f72794ad1016902ec63dfa590e8d40ab
tree64d3df187208d1cc87ceaedbd3ae77a86f408b81
parent16506c2a798df47482e4527024dbc64958896556
watchdog: mpcore_wdt: Allow platform_get_irq() to fail

irq is not necessary for mpcore wdt. Don't return error if it is not passed. But
if it is passed, then request_irq must pass.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mpcore_wdt.c