From: weiyj...@163.com Date: Tue, 12 Jul 2016 00:17:28 +0000 > From: Wei Yongjun <yongjun_...@trendmicro.com.cn> > > In case of error, the function devm_ioremap_resource() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check should be > replaced with IS_ERR(). > > Signed-off-by: Wei Yongjun <yongjun_...@trendmicro.com.cn>
Applied, thanks.