Commit 0b88a659 authored by Mark Brown's avatar Mark Brown

ASoC: wm8731: Delete empty remove() function

The I2C remove function is empty for the wm8731 driver, it can just be
deleted.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220211165811.1176005-1-broonie@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent e7c799e7
...@@ -777,11 +777,6 @@ static int wm8731_i2c_probe(struct i2c_client *i2c, ...@@ -777,11 +777,6 @@ static int wm8731_i2c_probe(struct i2c_client *i2c,
return 0; return 0;
} }
static int wm8731_i2c_remove(struct i2c_client *client)
{
return 0;
}
static const struct i2c_device_id wm8731_i2c_id[] = { static const struct i2c_device_id wm8731_i2c_id[] = {
{ "wm8731", 0 }, { "wm8731", 0 },
{ } { }
...@@ -794,7 +789,6 @@ static struct i2c_driver wm8731_i2c_driver = { ...@@ -794,7 +789,6 @@ static struct i2c_driver wm8731_i2c_driver = {
.of_match_table = wm8731_of_match, .of_match_table = wm8731_of_match,
}, },
.probe = wm8731_i2c_probe, .probe = wm8731_i2c_probe,
.remove = wm8731_i2c_remove,
.id_table = wm8731_i2c_id, .id_table = wm8731_i2c_id,
}; };
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment