Skip to contentSkip to conversation

ASoC: wm8731: Delete empty remove() function

PATCH In review Mark Brown 2 participants 3 messages Feb 11, 2022 – Feb 14, 2022

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 ASoC: wm8731: Delete empty remove() function

The I2C remove function is empty for the wm8731 driver, it can just be deleted.

---
 sound/soc/codecs/wm8731.c | 6 ------
 1 file changed, 6 deletions(-)
sound/soc/codecs/wm8731.c +0 -6
index 86b1f6eaa599..5d4949c2ec9b 100644
@@ -777,11 +777,6 @@ static int wm8731_i2c_probe(struct i2c_client *i2c,
 	return 0;
 }
 
-static int wm8731_i2c_remove(struct i2c_client *client)
-{
-	return 0;
-}
-
 static const struct i2c_device_id wm8731_i2c_id[] = {
 	{ "wm8731", 0 },
 	{ }
@@ -794,7 +789,6 @@ static struct i2c_driver wm8731_i2c_driver = {
 		.of_match_table = wm8731_of_match,
 	},
 	.probe =    wm8731_i2c_probe,
-	.remove =   wm8731_i2c_remove,
 	.id_table = wm8731_i2c_id,
 };
 #endif
Signature · 1 line
2.30.2
author maintainer
#2 lore raw
In reply to Mark Brown
Quoted 4 lines · Mark Brown

The I2C remove function is empty for the wm8731 driver, it can just be deleted.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: wm8731: Delete empty remove() function

      commit: 0b88a659002151e354272a13ae29d8b795ef1b46

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark