Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1233965

[PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings
Date 2015-09-28 11:20 +0200
Message-ID <qdCLf-1sd-7@gated-at.bofh.it> (permalink)
References <qdCLf-1sd-5@gated-at.bofh.it> <qdz0Z-4uH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


sound/soc/atmel/atmel-classd.c:669: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: Songjun Wu <songjun.wu@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 atmel-classd.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/atmel/atmel-classd.c
+++ b/sound/soc/atmel/atmel-classd.c
@@ -666,7 +666,6 @@ static int atmel_classd_remove(struct pl
 static struct platform_driver atmel_classd_driver = {
 	.driver	= {
 		.name		= "atmel-classd",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(atmel_classd_of_match),
 		.pm		= &snd_soc_pm_ops,
 	},
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RESEND PATCH v2 1/2] ASoC: atmel-classd: add the Audio Class D Amplifier Songjun Wu <songjun.wu@atmel.com> - 2015-09-28 07:20 +0200
  [PATCH] ASoC: atmel-classd: fix odd_ptr_err.cocci warnings kbuild test robot <lkp@intel.com> - 2015-09-28 11:20 +0200
    Re: [alsa-devel] [PATCH] ASoC: atmel-classd: fix odd_ptr_err.cocci warnings Peter Korsgaard <peter@korsgaard.com> - 2015-09-28 13:30 +0200
      Re: [alsa-devel] [PATCH] ASoC: atmel-classd: fix odd_ptr_err.cocci  warnings "Wu, Songjun" <songjun.wu@atmel.com> - 2015-09-29 03:50 +0200
  [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2015-09-28 11:20 +0200

csiph-web