2015-04-16 21:18 GMT+09:00 <weiyj_lk@xxxxxxx>: > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > > 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_wei@xxxxxxxxxxxxxxxxx> > --- > sound/soc/samsung/s3c24xx-i2s.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Good catch. Reviewed-by: Krzysztof Kozlowski <k.kozlowski.k@xxxxxxxxx> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html