From patchwork Fri Jul 10 10:37:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6764631 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 6599FC05AC for ; Fri, 10 Jul 2015 10:37:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6AB8320761 for ; Fri, 10 Jul 2015 10:37:45 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 441E420767 for ; Fri, 10 Jul 2015 10:37:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id F168C6E262; Fri, 10 Jul 2015 03:37:42 -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 DC9096E29F for ; Fri, 10 Jul 2015 03:37:41 -0700 (PDT) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR9002HAPIRA690@mailout1.w1.samsung.com> for dri-devel@lists.freedesktop.org; Fri, 10 Jul 2015 11:37:39 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-59-559fa07302eb Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 5E.59.04846.370AF955; Fri, 10 Jul 2015 11:37:39 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR900B3JPIH4BB0@eusync4.samsung.com>; Fri, 10 Jul 2015 11:37:39 +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 v2 1/2] drm/bridge: Drop owner assignment from i2c_driver Date: Fri, 10 Jul 2015 19:37:32 +0900 Message-id: <1436524653-29132-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1436524653-29132-1-git-send-email-k.kozlowski@samsung.com> References: <1436524653-29132-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrALMWRmVeSWpSXmKPExsVy+t/xa7rFC+aHGqxYL2rRe+4kk8WVr+/Z LP4/es1q8fqFocWmx9dYLS7vmsNm8enBf2aLHVMOMDlweGz/9oDV4373cSaPzUvqPf7O2s/i 0bdlFaPH9mvzmD0+b5ILYI/isklJzcksSy3St0vgyvh9ZiZjwU6uigW3zzI3MF7m6GLk4JAQ MJF48Vqgi5ETyBSTuHBvPVsXIxeHkMBSRolvT7ZCOf8ZJQ6+Xc4IUsUmYCyxefkSsISIwA9G iflfb7CCJJgFDCV+vvvDDmILC3hKNM2dwAiygUVAVeLrfw2QMK+Au8TJp52sENvkJE4emwxm cwp4SMy7sxCsVQioZsOFbuYJjLwLGBlWMYqmliYXFCel5xrqFSfmFpfmpesl5+duYoSE25cd jIuPWR1iFOBgVOLhDWCbHyrEmlhWXJl7iFGCg1lJhDexBSjEm5JYWZValB9fVJqTWnyIUZqD RUmcd+6u9yFCAumJJanZqakFqUUwWSYOTqkGxsbpCcdi7l5Jb/vfeEhk+/dJBrGbm5xWukax 6G72KFt3ZQXLvFuKco8vrfh6/PIvsfcTN7+ec2hLSp/SHQ02nXYdCz7Gp/Fyc22KStLT9n02 suMomHC0eeKjO9ZlxhXOP2cZB95d+tnw6jUL78+3z9T93nNhSafcwarvf48W6T76+8745CRP u2wlluKMREMt5qLiRAAAcZaNMwIAAA== 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.8 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 Changes since v1: 1. Split owner removal from rockchip to separate patch (spotted by Mark Yao). --- drivers/gpu/drm/bridge/ps8622.c | 1 - drivers/gpu/drm/bridge/ptn3460.c | 1 - 2 files changed, 2 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, }, };