From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] ASoC: nau8825: fix platform_no_drv_owner.cocci warnings Date: Sat, 3 Oct 2015 03:37:59 +0800 Message-ID: <20151002193759.GA166239@athens> References: <201510030325.7iMIFZm3%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by alsa0.perex.cz (Postfix) with ESMTP id C0A5F2614A9 for ; Fri, 2 Oct 2015 21:38:50 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1443804554-36592-1-git-send-email-anatol.pomozov@gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org Cc: mfelton1@nuvoton.com, Anatol Pomozov , alsa-devel@alsa-project.org, benzh@google.com, broonie@kernel.org, kbuild-all@01.org, ccchang12@nuvoton.com List-Id: alsa-devel@alsa-project.org sound/soc/codecs/nau8825.c:1096: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: Anatol Pomozov Signed-off-by: Fengguang Wu --- nau8825.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/nau8825.c +++ b/sound/soc/codecs/nau8825.c @@ -1093,7 +1093,6 @@ MODULE_DEVICE_TABLE(of, nau8825_of_ids); static struct i2c_driver nau8825_driver = { .driver = { .name = "nau8825", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(nau8825_of_ids), }, .probe = nau8825_i2c_probe,