RE: [PATCH] ASoC: tfa9879: Fix return value check in tfa9879_i2c_probe()
Date
Thu, 16 Apr 2015 13:08:11 +0000
Wei Yongjun wrote: > 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.