aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2018-09-11 07:02:04 +0000
committerMark Brown <broonie@kernel.org>2018-09-11 16:57:39 +0100
commita6ebf4c9770e918e601aa9bf4bc3cf4001dd3d4d (patch)
treecea65fae0e1cc42f7885b00ef9f8d82d8c5b380e /sound/soc/codecs
parentASoC: Fix UBSAN warning at snd_soc_get/put_volsw_sx() (diff)
downloadlinux-dev-a6ebf4c9770e918e601aa9bf4bc3cf4001dd3d4d.tar.xz
linux-dev-a6ebf4c9770e918e601aa9bf4bc3cf4001dd3d4d.zip
ASoC: rt5668: remove empty rt5668_i2c_remove()
rt5668_i2c_remove() is empty, and no longer needed. Let's remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/rt5668.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/codecs/rt5668.c b/sound/soc/codecs/rt5668.c
index 4412cd2910cd..85ba04d6e7ae 100644
--- a/sound/soc/codecs/rt5668.c
+++ b/sound/soc/codecs/rt5668.c
@@ -2591,11 +2591,6 @@ static int rt5668_i2c_probe(struct i2c_client *i2c,
rt5668_dai, ARRAY_SIZE(rt5668_dai));
}
-static int rt5668_i2c_remove(struct i2c_client *i2c)
-{
- return 0;
-}
-
static void rt5668_i2c_shutdown(struct i2c_client *client)
{
struct rt5668_priv *rt5668 = i2c_get_clientdata(client);
@@ -2626,7 +2621,6 @@ static struct i2c_driver rt5668_i2c_driver = {
.acpi_match_table = ACPI_PTR(rt5668_acpi_match),
},
.probe = rt5668_i2c_probe,
- .remove = rt5668_i2c_remove,
.shutdown = rt5668_i2c_shutdown,
.id_table = rt5668_i2c_id,
};