]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: rt5668: remove empty rt5668_i2c_remove()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Sep 2018 07:02:04 +0000 (07:02 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Sep 2018 15:57:39 +0000 (16:57 +0100)
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>
sound/soc/codecs/rt5668.c

index 4412cd2910cd583d4b1e0bbe52f7fe1768343613..85ba04d6e7aef49b0d3d288131b52fcd7d0c3893 100644 (file)
@@ -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,
 };