From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: fix platform_no_drv_owner.cocci warnings Date: Thu, 30 Aug 2018 18:13:00 +0800 Message-ID: <20180830101300.GA38719@lkp-ivb-ep02> References: <20180829144727.13757-2-codrin.ciubotariu@microchip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180829144727.13757-2-codrin.ciubotariu@microchip.com> Sender: linux-kernel-owner@vger.kernel.org To: Codrin Ciubotariu Cc: kbuild-all@01.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, broonie@kernel.org, robh+dt@kernel.org, alexandre.belloni@bootlin.com, nicolas.ferre@microchip.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, florian.meier@koalo.de, cristian.birsan@microchip.com List-Id: devicetree@vger.kernel.org From: kbuild test robot sound/soc/atmel/mikroe-proto.c:178: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 Fixes: 395c2cec021d ("ASoC: Add driver for PROTO Audio CODEC (with a WM8731)") CC: Codrin Ciubotariu Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Codrin-Ciubotariu/ASoC-Add-driver-for-PROTO-Audio-CODEC-with-a-WM8731/20180830-060610 base: https://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git at91-next mikroe-proto.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/atmel/mikroe-proto.c +++ b/sound/soc/atmel/mikroe-proto.c @@ -175,7 +175,6 @@ MODULE_DEVICE_TABLE(of, snd_proto_of_mat static struct platform_driver snd_proto_driver = { .driver = { .name = "snd-mikroe-proto", - .owner = THIS_MODULE, .of_match_table = snd_proto_of_match, }, .probe = snd_proto_probe,