summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l42-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/cs42l42-i2c.c')
-rw-r--r--sound/soc/codecs/cs42l42-i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/cs42l42-i2c.c b/sound/soc/codecs/cs42l42-i2c.c
index 1900ec75576e..67b253287daf 100644
--- a/sound/soc/codecs/cs42l42-i2c.c
+++ b/sound/soc/codecs/cs42l42-i2c.c
@@ -41,13 +41,11 @@ static int cs42l42_i2c_probe(struct i2c_client *i2c_client)
return cs42l42_init(cs42l42);
}
-static int cs42l42_i2c_remove(struct i2c_client *i2c_client)
+static void cs42l42_i2c_remove(struct i2c_client *i2c_client)
{
struct cs42l42_private *cs42l42 = dev_get_drvdata(&i2c_client->dev);
cs42l42_common_remove(cs42l42);
-
- return 0;
}
static int __maybe_unused cs42l42_i2c_resume(struct device *dev)