From patchwork Wed Apr 13 08:46:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 8819691 Return-Path: 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 03899C0553 for ; Wed, 13 Apr 2016 09:05:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3233D201FE for ; Wed, 13 Apr 2016 09:05:34 +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 57D8220154 for ; Wed, 13 Apr 2016 09:05:32 +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 1aqGiP-0002h5-EN; Wed, 13 Apr 2016 09:04:01 +0000 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqGiL-0002ZF-78 for linux-arm-kernel@lists.infradead.org; Wed, 13 Apr 2016 09:03:58 +0000 X-IronPort-AV: E=Sophos;i="5.24,479,1454972400"; d="scan'208";a="174062143" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 13 Apr 2016 10:46:56 +0200 Date: Wed, 13 Apr 2016 10:46:52 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Songjun Wu Subject: [PATCH] atmel-isc: fix platform_no_drv_owner.cocci warnings Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160413_020357_623002_A6660729 X-CRM114-Status: GOOD ( 11.76 ) X-Spam-Score: -6.1 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Griffin , Mauro Carvalho Chehab , nicolas.ferre@atmel.com, linux-kernel@vger.kernel.org, Fabien Dessenne , Sudip Mukherjee , Hans Verkuil , kbuild@01.org, Benoit Parrot , Laurent Pinchart , Songjun Wu , =?ISO-8859-15?Q?Richard_R=F6jfors?= , Mikhail Ulyanov , linux-media@vger.kernel.org, g.liakhovetski@gmx.de, linux-arm-kernel@lists.infradead.org, Gerd Hoffmann Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Songjun Wu Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- atmel-isc.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/media/platform/atmel/atmel-isc.c +++ b/drivers/media/platform/atmel/atmel-isc.c @@ -1524,7 +1524,6 @@ static struct platform_driver atmel_isc_ .remove = atmel_isc_remove, .driver = { .name = ATMEL_ISC_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(atmel_isc_of_match), }, };