From patchwork Tue Aug 16 12:43:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9283779 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 842DB60839 for ; Tue, 16 Aug 2016 12:43:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7611128A1A for ; Tue, 16 Aug 2016 12:43:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6AA2C28BAB; Tue, 16 Aug 2016 12:43:42 +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=-4.2 required=2.0 tests=BAYES_00, 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 0659728A1A for ; Tue, 16 Aug 2016 12:43:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3C79F6E624; Tue, 16 Aug 2016 12:43:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.web.de (mout.web.de [212.227.17.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 464076E624 for ; Tue, 16 Aug 2016 12:43:40 +0000 (UTC) Received: from [192.168.1.3] ([77.182.93.131]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LnjBT-1ayfP70NPr-00hvw6; Tue, 16 Aug 2016 14:43:18 +0200 To: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, David Airlie , =?UTF-8?Q?Heiko_St=c3=bcbner?= , Mark Yao , Yakir Yang From: SF Markus Elfring Subject: [PATCH] drm/rockchip: Delete unnecessary assignment for the field "owner" Message-ID: <41e48fd3-f713-7225-1df2-3b1f4758f949@users.sourceforge.net> Date: Tue, 16 Aug 2016 14:43:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 X-Provags-ID: V03:K0:ROoMZoHq85jroSFHhV2cgFa5wSqhPqfa4ecyWO0DZ8CCFKsLmBT KNkU7JG8JaGO9oJflgIcl3/nqQHTEPxiDKe38B+Ly4dcSkgD/XlpR0OmrS2cX6/9Ow/06Co jyxP+F65A8vXl5krFDCJTzPN/YrcDuagXUMBgY2+NoZoBP/aFrJsAEuNFfJIJ4bg5k8CZcf 3QsotggDRhdn79ey+Xkfw== X-UI-Out-Filterresults: notjunk:1; V01:K0:gzYvTXotOd4=:SWPL7BM8C1pUDaJAOiDxl/ vqIFOJKlPBpULCDViLxd4Z5P3x5ubqTMBTcw/tcEvkpl/FF7JksLTgOo0NdyvaHfJQzU6De+2 /9/jaQeyVdRGfcBfC6JBDMdHfcwQ+K3Klpjyq6m9APu2jcu+wJKHOYAwVJIbOMdUiRC1+N8fH wOp6DeZcWvCdf2GBVXpgD1JNaX5QkaVJUBfIiO+uRuZb0lgsDuXc6xHttf/fOXp5mITj96ErP nkml3EoJ+nITHl4Ud8+W2atqNMGBQxqtItAiaDHLA7OKkp1pwhLN8XgbpqTcz3kfhqJJR+6WV RBXxhlZn+XU1zJFoyeLh+MRpNg7YE5PQ5E/BIniMpeiG8XyaIL/tiAvJtPAPIqjYwovTs5kbl nthquMtNO+W9XV+xZD60HUUPqyn5JCYmQsrGGtOPY1dN45TUa6t4QiazdZcvBBMv1EgOkXGJe DOH7m3bPpNlK+p9EqrebK9k0O91t2EgyrLRQMPCqY/NltA5T3iEwgvaBG9nav1Y6BqI0+uBBK 6+bb1JRL0SwCo/G7L3lk0QnIJqYG/VW3/1vavQr4P2dgXHRsXSXl/6SWSRIyMJxOqjDVKYqV6 oNCK+X0L/Rbc2THyUns3hpRb/afheYngeMCiqSWfxMkn/JFvmKOi0vA1ldNnSV3BKHTbW2Y8x InqCG5fmtYZx2Jh1ERwRU6IZVRJvo267lwTxmbYXx6hUyBobozWL4iW/Ir2KG8FpxUkNiP3rb NIYRwN9XjwBtzK+iM/CphlBAx3qamYoxuQI3EFpEt/SlJ/pgqNfdXUU9fSYLRtRg3rFggG3h3 IPyhP4w Cc: Julia Lawall , kernel-janitors@vger.kernel.org, LKML 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-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 16 Aug 2016 14:25:35 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 1 - drivers/gpu/drm/rockchip/rockchip_vop_reg.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c index 89aadbf..0e63ee2 100644 --- a/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c +++ b/drivers/gpu/drm/rockchip/analogix_dp-rockchip.c @@ -445,7 +445,6 @@ static struct platform_driver rockchip_dp_driver = { .remove = rockchip_dp_remove, .driver = { .name = "rockchip-dp", - .owner = THIS_MODULE, .pm = &rockchip_dp_pm_ops, .of_match_table = of_match_ptr(rockchip_dp_dt_ids), }, diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c index 919992c..b7f59c4 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.c +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.c @@ -305,7 +305,6 @@ static struct platform_driver vop_platform_driver = { .remove = vop_remove, .driver = { .name = "rockchip-vop", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(vop_driver_dt_match), }, };