[alsa-devel] Applied "ASoC: cs4349: fix platform_no_drv_owner.cocci warnings" to the asoc tree

Mark Brown broonie at kernel.org
Tue Aug 25 11:36:30 CEST 2015


The patch

   ASoC: cs4349: fix platform_no_drv_owner.cocci warnings

has been applied to the asoc tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git 

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

>From f755d114cba98708932cba89d8c98c4ab89a83b0 Mon Sep 17 00:00:00 2001
From: kbuild test robot <fengguang.wu at intel.com>
Date: Sun, 23 Aug 2015 00:30:19 +0800
Subject: [PATCH] ASoC: cs4349: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/cs4349.c:389:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Tim Howe <tim.howe at cirrus.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
Signed-off-by: Mark Brown <broonie at kernel.org>
---
 sound/soc/codecs/cs4349.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/cs4349.c b/sound/soc/codecs/cs4349.c
index 0d010c2b6021..0ac8fc5ed4ae 100644
--- a/sound/soc/codecs/cs4349.c
+++ b/sound/soc/codecs/cs4349.c
@@ -378,7 +378,6 @@ MODULE_DEVICE_TABLE(i2c, cs4349_i2c_id);
 static struct i2c_driver cs4349_i2c_driver = {
 	.driver = {
 		.name		= "cs4349",
-		.owner		= THIS_MODULE,
 		.of_match_table	= cs4349_of_match,
 	},
 	.id_table	= cs4349_i2c_id,
-- 
2.5.0



More information about the Alsa-devel mailing list