Message ID | 20150928091029.GA23435@roam (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A1E60BEEA4 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 28 Sep 2015 09:15:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D3AE620678 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 28 Sep 2015 09:15:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0F61720646 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 28 Sep 2015 09:15:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZgUVF-0003jz-Kk; Mon, 28 Sep 2015 09:13:45 +0000 Received: from mga01.intel.com ([192.55.52.88]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZgUTu-0003OY-Rs for linux-arm-kernel@lists.infradead.org; Mon, 28 Sep 2015 09:12:23 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 28 Sep 2015 02:12:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,602,1437462000"; d="scan'208";a="814353905" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 28 Sep 2015 02:12:00 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from <fengguang.wu@intel.com>) id 1ZgUTN-0005GE-Bv; Mon, 28 Sep 2015 17:11:49 +0800 Date: Mon, 28 Sep 2015 17:10:29 +0800 From: kbuild test robot <lkp@intel.com> To: Songjun Wu <songjun.wu@atmel.com> Subject: [PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings Message-ID: <20150928091029.GA23435@roam> References: <201509281735.7lYs3Huz%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1443417278-19657-2-git-send-email-songjun.wu@atmel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150928_021222_927388_F4D3CE7A X-CRM114-Status: GOOD ( 12.30 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Takashi Iwai <tiwai@suse.com>, nicolas.ferre@atmel.com, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, broonie@kernel.org, kbuild-all@01.org, Songjun Wu <songjun.wu@atmel.com>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- a/sound/soc/atmel/atmel-classd.c +++ b/sound/soc/atmel/atmel-classd.c @@ -666,7 +666,6 @@ static int atmel_classd_remove(struct pl static struct platform_driver atmel_classd_driver = { .driver = { .name = "atmel-classd", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(atmel_classd_of_match), .pm = &snd_soc_pm_ops, },
sound/soc/atmel/atmel-classd.c:669: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: Songjun Wu <songjun.wu@atmel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- atmel-classd.c | 1 - 1 file changed, 1 deletion(-)