mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
ASoC: ak4642: code clean up
Signed-off-by: Kuninori Morimoto <[email protected]> Acked-by: Liam Girdwood <[email protected]> Signed-off-by: Mark Brown <[email protected]>
This commit is contained in:
1 parent
19c7ac27a1
commit
0ce75aa4fe
1 file changed
+1
-1
@@ -448,7 +448,7 @@ static __devinit int ak4642_i2c_probe(struct i2c_client *i2c,
|
||||
int ret;
|
||||
|
||||
ak4642 = kzalloc(sizeof(struct ak4642_priv), GFP_KERNEL);
|
||||
if (ak4642 == NULL)
|
||||
if (!ak4642)
|
||||
return -ENOMEM;
|
||||
|
||||
i2c_set_clientdata(i2c, ak4642);
|
||||
|
||||
Reference in new issue
Block a user