From patchwork Mon Apr 30 01:50:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 10370709 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C900460386 for ; Mon, 30 Apr 2018 01:51:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6FBA288D4 for ; Mon, 30 Apr 2018 01:51:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB688289D0; Mon, 30 Apr 2018 01:51:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 62801288D4 for ; Mon, 30 Apr 2018 01:51:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C3A706E263; Mon, 30 Apr 2018 01:50:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38CA36E25E; Mon, 30 Apr 2018 01:50:54 +0000 (UTC) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Apr 2018 18:50:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,345,1520924400"; d="scan'208";a="51850511" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 29 Apr 2018 18:50:51 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fCxxq-000VQP-K4; Mon, 30 Apr 2018 09:50:50 +0800 Date: Mon, 30 Apr 2018 09:50:13 +0800 From: kbuild test robot To: Sandeep Panda Subject: [PATCH] drm/bridge: fix platform_no_drv_owner.cocci warnings Message-ID: <20180430015012.GA31526@ivytown2> References: <1524821982-2778-2-git-send-email-spanda@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1524821982-2778-2-git-send-email-spanda@codeaurora.org> 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, ryadav@codeaurora.org, linux-arm-msm@vger.kernel.org, abhinavk@codeaurora.org, Sandeep Panda , dri-devel@lists.freedesktop.org, kbuild-all@01.org, hoegsberg@chromium.org, freedreno@lists.freedesktop.org, chandanu@codeaurora.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Fengguang Wu drivers/gpu/drm/bridge/ti-sn65dsi86.c:711: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 Fixes: 90200d12a626 ("drm/bridge: add support for sn65dsi86 bridge driver") CC: Sandeep Panda Signed-off-by: Fengguang Wu --- ti-sn65dsi86.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/bridge/ti-sn65dsi86.c +++ b/drivers/gpu/drm/bridge/ti-sn65dsi86.c @@ -708,7 +708,6 @@ MODULE_DEVICE_TABLE(of, ti_sn_bridge_mat static struct i2c_driver ti_sn_bridge_driver = { .driver = { .name = "ti_sn65dsi86", - .owner = THIS_MODULE, .of_match_table = ti_sn_bridge_match_table, }, .probe = ti_sn_bridge_probe,