From patchwork Fri Jul 10 05:51:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6761651 X-Patchwork-Delegate: jikos@jikos.cz Return-Path: X-Original-To: patchwork-linux-input@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 49DC5C05AC for ; Fri, 10 Jul 2015 05:51:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 78E39206F7 for ; Fri, 10 Jul 2015 05:51:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 95DFD206AF for ; Fri, 10 Jul 2015 05:51:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752403AbbGJFvS (ORCPT ); Fri, 10 Jul 2015 01:51:18 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58820 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751979AbbGJFvR (ORCPT ); Fri, 10 Jul 2015 01:51:17 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR9005IVC9FMK30@mailout2.w1.samsung.com>; Fri, 10 Jul 2015 06:51:15 +0100 (BST) X-AuditID: cbfec7f4-f79c56d0000012ee-94-559f5d533559 Received: from eusync4.samsung.com ( [203.254.199.214]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 7F.3D.04846.35D5F955; Fri, 10 Jul 2015 06:51:15 +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 <0NR900NXQC971S60@eusync4.samsung.com>; Fri, 10 Jul 2015 06:51:15 +0100 (BST) From: Krzysztof Kozlowski To: Jiri Kosina , Benjamin Tissoires , Mika Westerberg , Antonio Borneo , Jean-Baptiste Maneyrol , Andrew Duggan , Seth Forshee , "Rafael J. Wysocki" , Dan Carpenter , linux-input@vger.kernel.org (open list:HID CORE LAYER), linux-kernel@vger.kernel.org (open list) Cc: Krzysztof Kozlowski Subject: [PATCH] hid: Drop owner assignment from i2c_driver Date: Fri, 10 Jul 2015 14:51:04 +0900 Message-id: <1436507466-19257-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrILMWRmVeSWpSXmKPExsVy+t/xa7rBsfNDDabukbeYv/gru8X1KZtZ LQ6uXMZk8frfdBaL3XMWs1hcvbqQ1eL1C0OLm5++sVpc3jWHzWLK9iPsFo9XvGW3uH/qNYsD j8eshl42j52z7rJ7LN7zksnj49UFTB7zTgZ6fHx6i8Xj/b6rbB59W1YxepxZcITdY9KVc8we nzfJBXBHcdmkpOZklqUW6dslcGWsWb2XueARW0XnzdvsDYy3WbsYOTkkBEwkXky4xwxhi0lc uLeerYuRi0NIYCmjxIZj29hAEkIC/xkl7l3mALHZBIwlNi9fAlYkItDFIvHpyTmwScwChhI/ 3/1hB7GFBawlzv2ezgJiswioSjz+O5sJxOYVcJc4df4kO8Q2OYmTxyazTmDkXsDIsIpRNLU0 uaA4KT3XUK84Mbe4NC9dLzk/dxMjJCC/7GBcfMzqEKMAB6MSD28A2/xQIdbEsuLK3EOMEhzM SiK8/BJAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxzd70PERJITyxJzU5NLUgtgskycXBKNTAu D95baLs7ZveSp26BFRZyvZHFPqZ7+P+bCnnZx952/zj3f2HT0Z32ByLcf20OPHsjcqLBvXkG SUZTb7WunPqrctlpmRZrvs4syZ0a5w8crokpFWx4Z2RUvkhmw7Vna0Xdg3OiH2zpiHn+0Fvo ll3b+517fk2fbB7RtuKKedWuwNzPDjUP7xgqsRRnJBpqMRcVJwIAUKlDOkQCAAA= Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.2 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 i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski Acked-by: Benjamin Tissoires --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/hid/i2c-hid/i2c-hid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index f77469d4edfb..dfd679647391 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -1167,7 +1167,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_hid_id_table); static struct i2c_driver i2c_hid_driver = { .driver = { .name = "i2c_hid", - .owner = THIS_MODULE, .pm = &i2c_hid_pm, .acpi_match_table = ACPI_PTR(i2c_hid_acpi_match), .of_match_table = of_match_ptr(i2c_hid_of_match),