Re: [PATCH] ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe()

From: Mark Brown
Date: Fri Apr 17 2015 - 09:22:34 EST


On Thu, Apr 16, 2015 at 08:17:46PM +0800, weiyj_lk@xxxxxxx wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> In case of error, the function devm_kzalloc() returns NULL
> not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature