asoc: rt5640 codec: Fix compilation warnigs
Vijay Mali [Fri, 21 Jun 2013 05:24:13 +0000 (10:24 +0530)]
Remove unused variable

Bug 1274537

Change-Id: If63318ab760b97cdb67f28a636d8aad1225c794e
Reviewed-on: http://git-master/r/240869
(cherry picked from commit 220c874c9ee9182856f683107f9e8ae1ef1f5e76)

Signed-off-by: Vijay Mali <vmali@nvidia.com>
Change-Id: Ic73e8fb8d962b03d68cf26bc17f7953465a76891
Reviewed-on: http://git-master/r/250766
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

sound/soc/codecs/rt5640.c

index 5f63f5a..caef67b 100644 (file)
@@ -2827,7 +2827,7 @@ static int rt5640_remove(struct snd_soc_codec *codec)
        return 0;
 }
 #ifdef CONFIG_PM
-static int rt5640_suspend(struct snd_soc_codec *codec, pm_message_t state)
+static int rt5640_suspend(struct snd_soc_codec *codec)
 {
        rt5640_reset(codec);
        rt5640_set_bias_level(codec, SND_SOC_BIAS_OFF);