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: Wed, 2 Dec 2015 03:23:33 +0800 Message-ID: <20151201192333.GA71588@roam> References: <201512020319.lxuzp62p%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by alsa0.perex.cz (Postfix) with ESMTP id 4366B261B36 for ; Tue, 1 Dec 2015 20:24:48 +0100 (CET) Content-Disposition: inline In-Reply-To: <1448994679-7387-1-git-send-email-yesanishhere@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: alsa-devel@alsa-project.org, broonie@kernel.org, kbuild-all@01.org, anish kumar List-Id: alsa-devel@alsa-project.org sound/soc/codecs/max98926.c:587: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: anish kumar Signed-off-by: Fengguang Wu --- max98926.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/codecs/max98926.c +++ b/sound/soc/codecs/max98926.c @@ -584,7 +584,6 @@ MODULE_DEVICE_TABLE(of, max98926_of_matc static struct i2c_driver max98926_i2c_driver = { .driver = { .name = "max98926", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(max98926_of_match), .pm = NULL, },