ASoC: wm8994: Fix sparse warning due to use of 0 as NULL
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 May 2012 18:11:03 +0000 (19:11 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 May 2012 18:32:40 +0000 (19:32 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c

index d2db63022607fa634fb851e4aa01c4c7d1a848c1..98e462cbec736cbe0c3e4ae98c4f3dbbfc71f2fa 100644 (file)
@@ -792,7 +792,7 @@ static void vmid_reference(struct snd_soc_codec *codec)
 
                switch (wm8994->vmid_mode) {
                default:
-                       WARN_ON(0 == "Invalid VMID mode");
+                       WARN_ON(NULL == "Invalid VMID mode");
                case WM8994_VMID_NORMAL:
                        /* Startup bias, VMID ramp & buffer */
                        snd_soc_update_bits(codec, WM8994_ANTIPOP_2,