alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: max98371: Delete unnecessary assignment for the field "owner"
@ 2016-08-15 14:45 SF Markus Elfring
  2016-08-16 11:30 ` Applied "ASoC: max98371: Delete unnecessary assignment for the field "owner"" to the asoc tree Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: SF Markus Elfring @ 2016-08-15 14:45 UTC (permalink / raw)
  To: alsa-devel, anish kumar, Jaroslav Kysela, Liam Girdwood,
	Mark Brown, Takashi Iwai
  Cc: LKML, kernel-janitors, Julia Lawall, Axel Lin

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 16:16:00 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 sound/soc/codecs/max98371.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c
index cf0a39b..3053879 100644
--- a/sound/soc/codecs/max98371.c
+++ b/sound/soc/codecs/max98371.c
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, max98371_of_match);
 static struct i2c_driver max98371_i2c_driver = {
 	.driver = {
 		.name = "max98371",
-		.owner = THIS_MODULE,
 		.pm = NULL,
 		.of_match_table = of_match_ptr(max98371_of_match),
 	},
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Applied "ASoC: max98371: Delete unnecessary assignment for the field "owner"" to the asoc tree
  2016-08-15 14:45 [PATCH] ASoC: max98371: Delete unnecessary assignment for the field "owner" SF Markus Elfring
@ 2016-08-16 11:30 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2016-08-16 11:30 UTC (permalink / raw)
  To: Markus Elfring
  Cc: Mark Brown, alsa-devel, anish kumar, Jaroslav Kysela,
	Liam Girdwood

The patch

   ASoC: max98371: Delete unnecessary assignment for the field "owner"

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 408ef7e18097810f160629447e6ebe979a0b4282 Mon Sep 17 00:00:00 2001
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 16:16:00 +0200
Subject: [PATCH] ASoC: max98371: Delete unnecessary assignment for the field
 "owner"

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/codecs/max98371.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c
index cf0a39bb631a..30538790b1b7 100644
--- a/sound/soc/codecs/max98371.c
+++ b/sound/soc/codecs/max98371.c
@@ -425,7 +425,6 @@ MODULE_DEVICE_TABLE(of, max98371_of_match);
 static struct i2c_driver max98371_i2c_driver = {
 	.driver = {
 		.name = "max98371",
-		.owner = THIS_MODULE,
 		.pm = NULL,
 		.of_match_table = of_match_ptr(max98371_of_match),
 	},
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-16 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15 14:45 [PATCH] ASoC: max98371: Delete unnecessary assignment for the field "owner" SF Markus Elfring
2016-08-16 11:30 ` Applied "ASoC: max98371: Delete unnecessary assignment for the field "owner"" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).