Wei Yongjun 0859ffc3b3 watchdog: rt2880_wdt: fix return value check in rt288x_wdt_probe()
In case of error, the function devm_request_and_ioremap() returns NULL
pointer not ERR_PTR(). Fix it by using devm_ioremap_resource() instead
of devm_request_and_ioremap().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2013-11-17 19:38:44 +01:00
..
2012-03-27 20:06:02 +02:00
2013-11-17 19:34:20 +01:00
2013-03-01 12:31:14 +01:00
2012-11-28 12:00:24 -08:00
2013-11-17 19:34:20 +01:00
2012-11-28 12:00:24 -08:00