From patchwork Fri Jul 10 06:38:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6763251 Return-Path: X-Original-To: patchwork-linux-arm@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 04806C05AC for ; Fri, 10 Jul 2015 06:44:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 33DA1207CE for ; Fri, 10 Jul 2015 06:44:57 +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 C5463207C6 for ; Fri, 10 Jul 2015 06:44:55 +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 1ZDS1X-0001M7-1N; Fri, 10 Jul 2015 06:43:03 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDRxU-000190-NX for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 06:38:53 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR900C4SEG5M240@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 07:38:29 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-fa-559f68648ddd Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id EA.E6.05269.4686F955; Fri, 10 Jul 2015 07:38:28 +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 <0NR9000XMEFWDA00@eusync4.samsung.com>; Fri, 10 Jul 2015 07:38:28 +0100 (BST) From: Krzysztof Kozlowski To: Duc Dang , Bjorn Helgaas , linux-pci@vger.kernel.org (open list:PCI MSI DRIVER FOR APPLIEDMICRO XGENE), linux-arm-kernel@lists.infradead.org (open list:PCI MSI DRIVER FOR APPLIEDMICRO XGENE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] pci: Drop owner assignment from platform_driver Date: Fri, 10 Jul 2015 15:38:26 +0900 Message-id: <1436510306-5788-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrEJMWRmVeSWpSXmKPExsVy+t/xa7opGfNDDTZvtLFY0pRhMfMjo8Xr F4YWmx5fY7W4vGsOm8XZecfZHNg8Pq7/xOixYFOpx+Yl9R59W1YxenzeJBfAGsVlk5Kak1mW WqRvl8CVsfv0EdaCVWwVdz/qNzCuYO1i5OSQEDCR+P51AzOELSZx4d56ti5GLg4hgaWMEjub fjBCOP8ZJT7PXQTWwSZgLLF5+RKwKhGBmUwStyd0sYAkmAUMJX6++8MOYgsLOEgs/LwYrIFF QFXixcsrYDW8Am4SOw/eZ4dYJydx8thk1gmM3AsYGVYxiqaWJhcUJ6XnGukVJ+YWl+al6yXn 525ihITE1x2MS49ZHWIU4GBU4uENYJsfKsSaWFZcmXuIUYKDWUmEl18CKMSbklhZlVqUH19U mpNafIhRmoNFSZx35q73IUIC6YklqdmpqQWpRTBZJg5OqQbGlqiztYI1Z9Z83/Riwfyzlm2b vae8qHDpMf9cdETFMnzxaeO4hecm9CtPWXF6fxeXueNvd70pkcUK/0TjAs6uqu4Q+8K6+pDY l9QI74dHNqxYpxE0+0nY6RcxInbLggtDPqpM58r7JJLk1FOcMCXZyVHO8PuabPltqwv/WTwo uibMfd6hsdhfiaU4I9FQi7moOBEA6UFhpAUCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_233852_930007_10E7EBC9 X-CRM114-Status: GOOD ( 13.93 ) X-Spam-Score: -7.2 (-------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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 --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/pci/host/pci-xgene-msi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pci/host/pci-xgene-msi.c b/drivers/pci/host/pci-xgene-msi.c index 2d31d4d6fd08..9e1889e6aec7 100644 --- a/drivers/pci/host/pci-xgene-msi.c +++ b/drivers/pci/host/pci-xgene-msi.c @@ -582,7 +582,6 @@ error: static struct platform_driver xgene_msi_driver = { .driver = { .name = "xgene-msi", - .owner = THIS_MODULE, .of_match_table = xgene_msi_match_table, }, .probe = xgene_msi_probe,