From patchwork Fri Mar 11 16:45:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 8567681 Return-Path: X-Original-To: patchwork-dri-devel@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 B1780C0553 for ; Fri, 11 Mar 2016 16:46:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E67B520340 for ; Fri, 11 Mar 2016 16:46:49 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 30E85201F5 for ; Fri, 11 Mar 2016 16:46:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DA34E6EB28; Fri, 11 Mar 2016 16:46:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 88E456EB29 for ; Fri, 11 Mar 2016 16:46:44 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 11 Mar 2016 08:46:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,321,1455004800"; d="scan'208";a="934798606" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 11 Mar 2016 08:46:35 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aeQCw-000TQa-Sf; Sat, 12 Mar 2016 00:46:34 +0800 Date: Sat, 12 Mar 2016 00:45:43 +0800 From: kbuild test robot To: Alexey Brodkin Subject: [PATCH] drm: fix platform_no_drv_owner.cocci warnings Message-ID: <20160311164542.GA94290@lkp-ib04> References: <201603120053.Dr2iFD2z%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1457710959-9562-2-git-send-email-abrodkin@synopsys.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 Cc: Jose Abreu , Alexey Brodkin , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, kbuild-all@01.org, linux-snps-arc@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.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 drivers/gpu/drm/arc/arcpgu_drv.c:243:6-11: 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: Alexey Brodkin Signed-off-by: Fengguang Wu --- arcpgu_drv.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -240,7 +240,6 @@ static struct platform_driver arcpgu_pla .remove = arcpgu_remove, .driver = { .name = "arcpgu", - .owner = THIS_MODULE, .of_match_table = arcpgu_of_table, }, };