From patchwork Fri Jul 10 06:37: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: 6763051 Return-Path: X-Original-To: patchwork-linux-omap@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 BD223C05AC for ; Fri, 10 Jul 2015 06:40:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F106C207F8 for ; Fri, 10 Jul 2015 06:40:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11CE5207F2 for ; Fri, 10 Jul 2015 06:40:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753518AbbGJGht (ORCPT ); Fri, 10 Jul 2015 02:37:49 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:9863 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753475AbbGJGhg (ORCPT ); Fri, 10 Jul 2015 02:37:36 -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 <0NR900D2HEENVG40@mailout3.w1.samsung.com>; Fri, 10 Jul 2015 07:37:35 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-73-559f682f0688 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 87.D6.05269.F286F955; Fri, 10 Jul 2015 07:37:35 +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 <0NR900KDTEEDQY60@eusync4.samsung.com>; Fri, 10 Jul 2015 07:37:35 +0100 (BST) From: Krzysztof Kozlowski To: Tomi Valkeinen , Jean-Christophe Plagniol-Villard , linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] video: fbdev: Drop owner assignment from platform_driver Date: Fri, 10 Jul 2015 15:37:30 +0900 Message-id: <1436510250-5633-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1436510250-5633-1-git-send-email-k.kozlowski@samsung.com> References: <1436510250-5633-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkluLIzCtJLcpLzFFi42I5/e/4NV39jPmhBisn8lm8fmFocaLvA6vF 5V1z2CxmL+lnsVj38AWTxfr5t9gc2DxeXbjD4tG3ZRWjx/Eb25k8Pm+SC2CJ4rJJSc3JLEst 0rdL4Mr4/G0Oc8Ee9oq3v5tYGxi3sXUxcnBICJhI7H0d2sXICWSKSVy4tx4ozMUhJLCUUWL+ gZ2sEM5/RokHE7ezg1SxCRhLbF6+BKxKROAgo8SmIyvZQBLMAoYSP9/9ASsSFvCVeDKzBSzO IqAqseTXIxYQm1fATeLv3p8sEOvkJE4em8wKYnMKuEv8PLmMCcQWAqrp3T6ffQIj7wJGhlWM oqmlyQXFSem5RnrFibnFpXnpesn5uZsYIQH0dQfj0mNWhxgFOBiVeHgD2OaHCrEmlhVX5h5i lOBgVhLh5ZcACvGmJFZWpRblxxeV5qQWH2KU5mBREueduet9iJBAemJJanZqakFqEUyWiYNT qoFxgenDsLPvXlxMUdq0Wz9U2FVG8q7z6qOTzxY+qWE6r7PZ4eV3rlvm6XM6kk1WR6nsqOqw nbYladXn+ooqu7OX7y94YPxT3/LB3617bbRLzyU83v3Z7nOgwKO4EKm9hyQDDKes3O396b1g 40L+0rNyHSf1mN9xH/M9ELQ66N2nJ7wuL2rOeRiZK7EUZyQaajEXFScCAEyJCK8cAgAA Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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/video/fbdev/omap2/displays-new/encoder-opa362.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/displays-new/encoder-opa362.c b/drivers/video/fbdev/omap2/displays-new/encoder-opa362.c index a14d993f719d..8c246c213e06 100644 --- a/drivers/video/fbdev/omap2/displays-new/encoder-opa362.c +++ b/drivers/video/fbdev/omap2/displays-new/encoder-opa362.c @@ -266,7 +266,6 @@ static struct platform_driver opa362_driver = { .remove = __exit_p(opa362_remove), .driver = { .name = "amplifier-opa362", - .owner = THIS_MODULE, .of_match_table = opa362_of_match, .suppress_bind_attrs = true, },