]> Pileus Git - ~andy/linux/blobdiff - sound/soc/codecs/wm8955.c
Merge branch 'topic/misc' into for-linus
[~andy/linux] / sound / soc / codecs / wm8955.c
index dbf2a8328a8ea9d83f7376e12a312cddd3a286eb..924548182d58f86257e1a4a2d9fde8125e67a8af 100644 (file)
@@ -16,7 +16,6 @@
 #include <linux/delay.h>
 #include <linux/pm.h>
 #include <linux/i2c.h>
-#include <linux/platform_device.h>
 #include <linux/regulator/consumer.h>
 #include <linux/slab.h>
 #include <sound/core.h>
@@ -879,7 +878,7 @@ static struct snd_soc_dai_driver wm8955_dai = {
 };
 
 #ifdef CONFIG_PM
-static int wm8955_suspend(struct snd_soc_codec *codec, pm_message_t state)
+static int wm8955_suspend(struct snd_soc_codec *codec)
 {
        wm8955_set_bias_level(codec, SND_SOC_BIAS_OFF);
 
@@ -1038,7 +1037,7 @@ MODULE_DEVICE_TABLE(i2c, wm8955_i2c_id);
 
 static struct i2c_driver wm8955_i2c_driver = {
        .driver = {
-               .name = "wm8955-codec",
+               .name = "wm8955",
                .owner = THIS_MODULE,
        },
        .probe =    wm8955_i2c_probe,