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: 6762811 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@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 A65FC9F319 for ; Fri, 10 Jul 2015 06:38:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CE6FD207E5 for ; Fri, 10 Jul 2015 06:38:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DD22D207DC for ; Fri, 10 Jul 2015 06:38:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753753AbbGJGih (ORCPT ); Fri, 10 Jul 2015 02:38:37 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:9901 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752525AbbGJGib (ORCPT ); Fri, 10 Jul 2015 02:38:31 -0400 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>; 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) Cc: Krzysztof Kozlowski 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= Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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,