From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758655AbbBGW7J (ORCPT ); Sat, 7 Feb 2015 17:59:09 -0500 Received: from mga11.intel.com ([192.55.52.93]:48547 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751751AbbBGW7H (ORCPT ); Sat, 7 Feb 2015 17:59:07 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,537,1418112000"; d="scan'208";a="648899051" Date: Sun, 8 Feb 2015 06:58:30 +0800 From: kbuild test robot To: Rongjun Ying Cc: kbuild-all@01.org, Barry Song , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: sirf: atlas7: fix platform_no_drv_owner.cocci warnings Message-ID: <20150207225830.GA6510@waimea> References: <201502080606.gsrhSC8Q%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201502080606.gsrhSC8Q%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sound/soc/sirf/atlas7-iacc.c:625: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: Rongjun Ying Signed-off-by: Fengguang Wu --- atlas7-iacc.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sirf/atlas7-iacc.c +++ b/sound/soc/sirf/atlas7-iacc.c @@ -622,7 +622,6 @@ static const struct dev_pm_ops atlas7_ia static struct platform_driver atlas7_iacc_driver = { .driver = { .name = "sirf-atlas7-iacc", - .owner = THIS_MODULE, .of_match_table = atlas7_iacc_of_match, .pm = &atlas7_iacc_pm_ops, },