Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0859ffc3 authored by Wei Yongjun's avatar Wei Yongjun Committed by Wim Van Sebroeck
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 6ffcff93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment