From patchwork Fri Oct 16 13:52:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7415441 Return-Path: X-Original-To: patchwork-linux-mediatek@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 450339F443 for ; Fri, 16 Oct 2015 13:53:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7602220A2C for ; Fri, 16 Oct 2015 13:53:51 +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 A7DE820A20 for ; Fri, 16 Oct 2015 13:53:49 +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 1Zn5S9-0005qx-BO; Fri, 16 Oct 2015 13:53:49 +0000 Received: from mga14.intel.com ([192.55.52.115]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zn5S0-0005eE-5j; Fri, 16 Oct 2015 13:53:40 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 16 Oct 2015 06:53:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,689,1437462000"; d="scan'208";a="828267010" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 16 Oct 2015 06:53:14 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Zn5RM-000O0a-0R; Fri, 16 Oct 2015 21:53:00 +0800 Date: Fri, 16 Oct 2015 21:52:09 +0800 From: kbuild test robot To: CK Hu Subject: [PATCH] drm/bridge: fix platform_no_drv_owner.cocci warnings Message-ID: <20151016135209.GA1388@lkp-hsx03> References: <201510162146.XrY3ULaf%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1444997709-57293-2-git-send-email-ck.hu@mediatek.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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151016_065340_239207_D0AF50F3 X-CRM114-Status: GOOD ( 11.84 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Airlie , dri-devel@lists.freedesktop.org, Ajay Kumar , Vincent Palatin , linux-mediatek@lists.infradead.org, cawa.cheng@mediatek.com, Russell King , Thierry Reding , devicetree@vger.kernel.org, Jitao Shi , Sascha Hauer , Pawel Moll , Ian Campbell , Inki Dae , Rob Herring , Sean Paul , yingjoe.chen@mediatek.com, Matthias Brugger , eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org, Rahul Sharma , srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, kbuild-all@01.org, Philipp Zabel , Kumar Gala , Andy Yan Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=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 drivers/gpu/drm/bridge/parade-ps8640.c:480: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: Jitao Shi Signed-off-by: Fengguang Wu --- parade-ps8640.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/bridge/parade-ps8640.c +++ b/drivers/gpu/drm/bridge/parade-ps8640.c @@ -477,7 +477,6 @@ static struct i2c_driver ps8640_driver = .remove = ps8640_remove, .driver = { .name = "parade,ps8640", - .owner = THIS_MODULE, .of_match_table = ps8640_match, }, };