mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Reviewed-by: Oleksij Rempel <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]>