From: Wei Yongjun Date: Thu, 31 Oct 2013 07:50:55 +0000 (+0800) Subject: watchdog: rt2880_wdt: fix return value check in rt288x_wdt_probe() X-Git-Tag: v3.13-rc1~42^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0859ffc3b3cb673ac1d3f33b0265cf60d1e3836d;p=pandora-kernel.git 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 Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed