23 Apr
2008
23 Apr
'08
2:16 p.m.
At Wed, 23 Apr 2008 13:08:03 +0100, Mark Brown wrote:
@@ -135,7 +136,7 @@ static int ac97_soc_remove(struct platform_device *pdev) struct snd_soc_device *socdev = platform_get_drvdata(pdev); struct snd_soc_codec *codec = socdev->codec;
- if(codec == NULL)
- if (codec == NULL)
Actually, "if (!codec)" is a preferred form.
Takashi