[PATCH -next] ASoC: samsung: Fix return value check in s3c2412_iis_dev_probe()

Mark Brown broonie at kernel.org
Tue Jul 29 11:56:09 PDT 2014

On Sun, Jul 20, 2014 at 11:43:07AM +0800, weiyj_lk at 163.com wrote:
> From: Wei Yongjun <yongjun_wei at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140729/6d57e706/attachment.sig>

More information about the linux-arm-kernel mailing list