29 Jul
2014
29 Jul
'14
8:56 p.m.
On Sun, Jul 20, 2014 at 11:43:07AM +0800, weiyj_lk@163.com wrote:
From: Wei Yongjun yongjun_wei@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(). Also remove redundant return value check of platform_get_resource().
Applied, thanks.