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: 6761511 Return-Path: X-Original-To: patchwork-linux-rockchip@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 3B5E6C05AC for ; Fri, 10 Jul 2015 05:37:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5EFA820721 for ; Fri, 10 Jul 2015 05:37:22 +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 7D54420715 for ; Fri, 10 Jul 2015 05:37:21 +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 1ZDQzx-0008W8-69; Fri, 10 Jul 2015 05:37:21 +0000 Received: from mailout1.w1.samsung.com ([210.118.77.11]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDQzh-0007gD-Pf; Fri, 10 Jul 2015 05:37:06 +0000 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>; 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_223705_978620_395E055A X-CRM114-Status: GOOD ( 13.21 ) X-Spam-Score: -7.2 (-------) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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,