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: 8819611 Return-Path: X-Original-To: patchwork-linux-media@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 74825C0553 for ; Wed, 13 Apr 2016 08:47:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0007202FE for ; Wed, 13 Apr 2016 08:47:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE5922028D for ; Wed, 13 Apr 2016 08:47:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758303AbcDMIrA (ORCPT ); Wed, 13 Apr 2016 04:47:00 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:25205 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757709AbcDMIq7 (ORCPT ); Wed, 13 Apr 2016 04:46:59 -0400 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 cc: g.liakhovetski@gmx.de, nicolas.ferre@atmel.com, linux-arm-kernel@lists.infradead.org, Songjun Wu , Mauro Carvalho Chehab , Hans Verkuil , Sudip Mukherjee , Mikhail Ulyanov , Fabien Dessenne , Peter Griffin , Benoit Parrot , Laurent Pinchart , Gerd Hoffmann , =?ISO-8859-15?Q?Richard_R=F6jfors?= , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, kbuild@01.org 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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), }, };