diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-10-31 07:50:55 (GMT) |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2013-11-17 18:38:44 (GMT) |
commit | 0859ffc3b3cb673ac1d3f33b0265cf60d1e3836d (patch) | |
tree | 25aabd56b0355cd4494ae33a27d09a1b663f05c8 /drivers/net/hyperv | |
parent | 6ffcff931971ce78d08220a7a3bbaddaea207598 (diff) | |
download | linux-fsl-qoriq-0859ffc3b3cb673ac1d3f33b0265cf60d1e3836d.tar.xz |
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>
Diffstat (limited to 'drivers/net/hyperv')
0 files changed, 0 insertions, 0 deletions