Re: [PATCH -next] ASoC: Intel: fix return value check in sst_acpi_probe()

From: Mark Brown
Date: Mon Dec 15 2014 - 13:22:25 EST


On Tue, Dec 09, 2014 at 09:14:37PM +0800, weiyj_lk@xxxxxxx wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> In case of error, the function platform_device_register_data()
> returns ERR_PTR() and never returns NULL. The NULL test in the
> return value check should be replaced with IS_ERR().

Applied, thanks.

Attachment: signature.asc
Description: Digital signature