mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-05-29 23:23:54 +00:00
In case of error, the function devm_ioremap_nocache() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Felipe Balbi <balbi@ti.com>