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

Mark Brown broonie at kernel.org
Mon Nov 23 15:38:23 CET 2015


The patch

   ASoC: rk3036: 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 da46cd9e12397ef609431b52e2ce5f595cff78cf Mon Sep 17 00:00:00 2001
From: kbuild test robot <lkp at intel.com>
Date: Mon, 9 Nov 2015 11:13:55 +0800
Subject: [PATCH] ASoC: rk3036: fix platform_no_drv_owner.cocci warnings

sound/soc/codecs/inno_rk3036.c:480: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

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

diff --git a/sound/soc/codecs/inno_rk3036.c b/sound/soc/codecs/inno_rk3036.c
index 24677a831c00..9b6e8840a1b5 100644
--- a/sound/soc/codecs/inno_rk3036.c
+++ b/sound/soc/codecs/inno_rk3036.c
@@ -477,7 +477,6 @@ MODULE_DEVICE_TABLE(of, rk3036_codec_of_match);
 static struct platform_driver rk3036_codec_platform_driver = {
 	.driver = {
 		.name = "rk3036-codec-platform",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(rk3036_codec_of_match),
 	},
 	.probe = rk3036_codec_platform_probe,
-- 
2.6.2



More information about the Alsa-devel mailing list