From patchwork Fri Jul 10 06:29:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6762341 Return-Path: X-Original-To: patchwork-linux-mediatek@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1209A9F319 for ; Fri, 10 Jul 2015 06:30:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45C41207BF for ; Fri, 10 Jul 2015 06:30:38 +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 7C845207BB for ; Fri, 10 Jul 2015 06:30:36 +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 1ZDRpU-0005jT-8A; Fri, 10 Jul 2015 06:30:36 +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 1ZDRpL-0005JT-Nv; Fri, 10 Jul 2015 06:30:28 +0000 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 <0NR900I51E22CH40@mailout1.w1.samsung.com>; Fri, 10 Jul 2015 07:30:02 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-f9-559f666adf3c Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 9B.20.04846.A666F955; Fri, 10 Jul 2015 07:30:02 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR9001K4E1VF940@eusync1.samsung.com>; Fri, 10 Jul 2015 07:30:02 +0100 (BST) From: Krzysztof Kozlowski To: Matthias Brugger , Sascha Hauer , Krzysztof Kozlowski , Thierry Reding , Flora Fu , linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support) , linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] soc: mediatek: Drop owner assignment from platform_driver Date: Fri, 10 Jul 2015 15:29:45 +0900 Message-id: <1436509789-27361-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNJMWRmVeSWpSXmKPExsVy+t/xy7pZafNDDbaeYbI49HIhu8XrF4YW mx5fY7W4vGsOm8Xl5ouMFk0txhZ/t29isbj9m8+Bw2PnrLvsHpuX1Hu0nNzP4tHb/I7No/+v gUffllWMHp83yQWwR3HZpKTmZJalFunbJXBlNB2Zw1RwlK1i+p79zA2Mh1m7GDk5JARMJJ4c nQ1li0lcuLeerYuRi0NIYCmjxKLbi1kgnP9AzouVzCBVbALGEpuXLwGrEhGYzyxx4sB6dpCE sICXxLeuD0wgNouAqsTPu21gNq+Au8SFXdPZIVbISZw8Npl1AiPXAkaGVYyiqaXJBcVJ6bmG esWJucWleel6yfm5mxghQfJlB+PiY1aHGAU4GJV4eAPY5ocKsSaWFVfmHmKU4GBWEuHllwAK 8aYkVlalFuXHF5XmpBYfYpTmYFES5527632IkEB6YklqdmpqQWoRTJaJg1OqgXH2LWXOnE9R Z/USxbO2/jRffueN+BGXmgszFmxeZ5MqN8en8ETkrFs7P+5QkT5jp5kkFFnp/Ht38Mqnq/7G HEjb8zicfV/w3raXb5MfqRx4Ifuo4niZ0ttUsw26CSxR546rxisYt66OerJJU/97jsYe9aTP rZt7V9zm8nsf/fTc9jl/Ett/mJgrsRRnJBpqMRcVJwIA4MOIQg4CAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_233027_921690_91170B53 X-CRM114-Status: GOOD ( 13.94 ) X-Spam-Score: -7.2 (-------) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org 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 platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski Acked-by: Sascha Hauer --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/soc/mediatek/mtk-pmic-wrap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c index f432291feee9..8bc7b41b09fd 100644 --- a/drivers/soc/mediatek/mtk-pmic-wrap.c +++ b/drivers/soc/mediatek/mtk-pmic-wrap.c @@ -926,7 +926,6 @@ err_out1: static struct platform_driver pwrap_drv = { .driver = { .name = "mt-pmic-pwrap", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_pwrap_match_tbl), }, .probe = pwrap_probe,