From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964828AbcBBQCV (ORCPT ); Tue, 2 Feb 2016 11:02:21 -0500 Received: from mga14.intel.com ([192.55.52.115]:46870 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964807AbcBBQCT (ORCPT ); Tue, 2 Feb 2016 11:02:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,385,1449561600"; d="scan'208";a="645942288" Date: Wed, 3 Feb 2016 00:01:15 +0800 From: kbuild test robot To: codekipper@gmail.com Cc: kbuild-all@01.org, maxime.ripard@free-electrons.com, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, lgirdwood@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, be17068@iperbole.bo.it, Marcus Cooper Subject: [PATCH] ASOC: sunxi: fix platform_no_drv_owner.cocci warnings Message-ID: <20160202160114.GA234379@ivytown2> References: <201602022350.vGAUirEB%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454424594-25208-3-git-send-email-codekipper@gmail.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/sunxi/sun4i-spdif.c:572: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: Marcus Cooper Signed-off-by: Fengguang Wu --- sun4i-spdif.c | 1 - 1 file changed, 1 deletion(-) --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -569,7 +569,6 @@ static const struct dev_pm_ops sun4i_spd static struct platform_driver sun4i_spdif_driver = { .driver = { .name = "sun4i-spdif", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(sun4i_spdif_of_match), .pm = &sun4i_spdif_pm, },