From patchwork Fri Jul 10 06:27:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6762311 Return-Path: X-Original-To: patchwork-linux-arm@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 070F29F319 for ; Fri, 10 Jul 2015 06:29:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35807207C6 for ; Fri, 10 Jul 2015 06:29:28 +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 188FB207BB for ; Fri, 10 Jul 2015 06:29:27 +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 1ZDRmu-0003j0-3N; Fri, 10 Jul 2015 06:27:56 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZDRmr-0003e2-RB for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 06:27:54 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR90021QDXV2F40@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 10 Jul 2015 07:27:31 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-83-559f65d321e7 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 7E.EF.04846.3D56F955; Fri, 10 Jul 2015 07:27:31 +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 <0NR900N6ZDXO1S80@eusync4.samsung.com>; Fri, 10 Jul 2015 07:27:31 +0100 (BST) From: Krzysztof Kozlowski To: Linus Walleij , Barry Song , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] pinctrl: Drop owner assignment from platform_driver Date: Fri, 10 Jul 2015 15:27:30 +0900 Message-id: <1436509650-5218-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKJMWRmVeSWpSXmKPExsVy+t/xa7qXU+eHGtz8wGzx5FAvs8XrF4YW U/4sZ7LY9Pgaq8Xm+X8YLS7vmsPmwOaxaVUnm8eda3vYPDYvqffo27KK0ePzJrkA1igum5TU nMyy1CJ9uwSujMvnj7IWHGOruPDmJGsD4xHWLkZODgkBE4mvv5YyQdhiEhfurWfrYuTiEBJY yijxYvsHRgjnP6NE792JYFVsAsYSm5cvYQOxRQQ2MEo82SYFYjMLGEr8fPeHHcQWFnCRuNv/ HGwDi4CqxK0d58BsXgE3iWPvXkNtk5M4eWwy6wRG7gWMDKsYRVNLkwuKk9JzDfWKE3OLS/PS 9ZLzczcxQgLjyw7GxcesDjEKcDAq8fAGsM0PFWJNLCuuzD3EKMHBrCTCyy8BFOJNSaysSi3K jy8qzUktPsQozcGiJM47d9f7ECGB9MSS1OzU1ILUIpgsEwenVAOjh1Jc1K9A2au3ff6GSPUE bw6Vt7oZpcnCoHvh26T0Oq6bEgb3bqY/2HH2/V9P5WiniZXz5Plesjc5b/bqd3CPLVcpetht dHiB0tK9G2oq3VTa3xjZXF+5++5Dfoc4y/0XsjJcj/3efdfU+Z9dxtLnrx4sKNiz6XvDlr5D BY4X2Le/Oy26UP+9EktxRqKhFnNRcSIAoQvuMAgCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150709_232754_026236_39616F4A X-CRM114-Status: GOOD ( 12.88 ) 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/pinctrl/sirf/pinctrl-atlas7.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c index 9384e0aa3996..d6e80fe1c7f7 100644 --- a/drivers/pinctrl/sirf/pinctrl-atlas7.c +++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c @@ -4621,7 +4621,6 @@ failed: static struct platform_driver atlas7_gpio_driver = { .driver = { .name = "atlas7-gpio", - .owner = THIS_MODULE, .of_match_table = atlas7_gpio_ids, }, .probe = atlas7_gpio_probe,