aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt5682-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/rt5682-i2c.c')
-rw-r--r--sound/soc/codecs/rt5682-i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/rt5682-i2c.c b/sound/soc/codecs/rt5682-i2c.c
index 3f72f6093436..2935c1bb81f3 100644
--- a/sound/soc/codecs/rt5682-i2c.c
+++ b/sound/soc/codecs/rt5682-i2c.c
@@ -302,11 +302,9 @@ static void rt5682_i2c_shutdown(struct i2c_client *client)
rt5682_reset(rt5682);
}
-static int rt5682_i2c_remove(struct i2c_client *client)
+static void rt5682_i2c_remove(struct i2c_client *client)
{
rt5682_i2c_shutdown(client);
-
- return 0;
}
static const struct of_device_id rt5682_of_match[] = {