From patchwork Fri Jul 10 05:36:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6761491 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 D5CCDC05AC for ; Fri, 10 Jul 2015 05:36:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F3EC920732 for ; Fri, 10 Jul 2015 05:36:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 9EA0920721 for ; Fri, 10 Jul 2015 05:36:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0D37F6E07E; Thu, 9 Jul 2015 22:36:48 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id 952D26E063 for ; Thu, 9 Jul 2015 22:36:46 -0700 (PDT) Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR90057OBL7X530@mailout1.w1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 10 Jul 2015 06:36:44 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-24-559f59ebb2ed Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 65.82.05269.BE95F955; Fri, 10 Jul 2015 06:36:43 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR900CXOBKY5C20@eusync3.samsung.com>; Fri, 10 Jul 2015 06:36:43 +0100 (BST) From: Krzysztof Kozlowski To: David Airlie , Mark Yao , Heiko Stuebner , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH] drm: Drop owner assignment from i2c_driver Date: Fri, 10 Jul 2015 14:36:37 +0900 Message-id: <1436506597-1096-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1436506597-1096-1-git-send-email-k.kozlowski@samsung.com> References: <1436506597-1096-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrELMWRmVeSWpSXmKPExsVy+t/xq7qvI+eHGpzuUrPoPXeSyeLK1/ds Fv8fvWa1eP3C0GLT42usFpd3zWGz+PTgP7PFjikHmBw4PLZ/e8Dqcb/7OJPH5iX1Hn9n7Wfx 6NuyitFj+7V5zB6fN8kFsEdx2aSk5mSWpRbp2yVwZXz4uJ2x4BRfxa2Ol4wNjDN5uhg5OSQE TCTO3rjFDGGLSVy4t56ti5GLQ0hgKaPEk66J7BDOf0aJN/vbWEGq2ASMJTYvXwJWJSLwg1Fi /tcbYAlmAUOJn+/+sIPYwgLWEmsPfGMDsVkEVCUWfb4NVsMr4CYxb/1RJoh1chInj00Gi3MK uEs8+XYTLC4EVLO6fRHrBEbeBYwMqxhFU0uTC4qT0nON9IoTc4tL89L1kvNzNzFCQu7rDsal x6wOMQpwMCrx8AawzQ8VYk0sK67MPcQowcGsJMLLLwEU4k1JrKxKLcqPLyrNSS0+xCjNwaIk zjtz1/sQIYH0xJLU7NTUgtQimCwTB6dUA2NN95WzrBcVH7VF/pgTs2nHaqWl5dWuCpLJ/IkZ LP+PxN3jYGDR2Kl18uyRqxFz9nMkWpqpHX3q2Src534/ctsB3xLlKNt9E6OS3+8/cqmQuVL5 7To+/l5/1i077r5d0eI1fZnEDzurdrWKv8p6ajI7TjyaI1O95t9DAd2rq1nC//BUvi8sa1Bi Kc5INNRiLipOBABlBBZYNQIAAA== Cc: Krzysztof Kozlowski 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: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.5 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 i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/gpu/drm/bridge/ps8622.c | 1 - drivers/gpu/drm/bridge/ptn3460.c | 1 - drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/bridge/ps8622.c b/drivers/gpu/drm/bridge/ps8622.c index 1a6607beb29f..be881e9fef8f 100644 --- a/drivers/gpu/drm/bridge/ps8622.c +++ b/drivers/gpu/drm/bridge/ps8622.c @@ -668,7 +668,6 @@ static struct i2c_driver ps8622_driver = { .remove = ps8622_remove, .driver = { .name = "ps8622", - .owner = THIS_MODULE, .of_match_table = ps8622_devices, }, }; diff --git a/drivers/gpu/drm/bridge/ptn3460.c b/drivers/gpu/drm/bridge/ptn3460.c index 1b1bf2384815..0ffa3a6a206a 100644 --- a/drivers/gpu/drm/bridge/ptn3460.c +++ b/drivers/gpu/drm/bridge/ptn3460.c @@ -400,7 +400,6 @@ static struct i2c_driver ptn3460_driver = { .remove = ptn3460_remove, .driver = { .name = "nxp,ptn3460", - .owner = THIS_MODULE, .of_match_table = ptn3460_match, }, }; diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index 01b558fe3695..9a0c2911272a 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -555,7 +555,6 @@ static struct platform_driver rockchip_drm_platform_driver = { .probe = rockchip_drm_platform_probe, .remove = rockchip_drm_platform_remove, .driver = { - .owner = THIS_MODULE, .name = "rockchip-drm", .of_match_table = rockchip_drm_dt_ids, .pm = &rockchip_drm_pm_ops,