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:
Kuninori Morimoto authored and Mark Brown committed 2010-09-16 14:14:56 +01:00
1 parent 19c7ac27a1
commit 0ce75aa4fe
1 file changed
+1 -1
+1 -1
View File
@@ -448,7 +448,7 @@ static __devinit int ak4642_i2c_probe(struct i2c_client *i2c,
int ret; int ret;
ak4642 = kzalloc(sizeof(struct ak4642_priv), GFP_KERNEL); ak4642 = kzalloc(sizeof(struct ak4642_priv), GFP_KERNEL);
if (ak4642 == NULL) if (!ak4642)
return -ENOMEM; return -ENOMEM;
i2c_set_clientdata(i2c, ak4642); i2c_set_clientdata(i2c, ak4642);