From patchwork Thu Nov 19 03:58:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7654801 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 2E845BF90C for ; Thu, 19 Nov 2015 03:58:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B141204AB for ; Thu, 19 Nov 2015 03:58:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8314E204D1 for ; Thu, 19 Nov 2015 03:58:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933432AbbKSD6T (ORCPT ); Wed, 18 Nov 2015 22:58:19 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:22030 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933261AbbKSD6S (ORCPT ); Wed, 18 Nov 2015 22:58:18 -0500 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 <0NY100AM3N14SF10@mailout4.w1.samsung.com>; Thu, 19 Nov 2015 03:58:17 +0000 (GMT) X-AuditID: cbfec7f4-f79026d00000418a-72-564d48d8eca7 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id E5.D5.16778.8D84D465; Thu, 19 Nov 2015 03:58:16 +0000 (GMT) Received: from localhost.localdomain ([10.252.80.64]) by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NY100FBON0ZR130@eusync2.samsung.com>; Thu, 19 Nov 2015 03:58:16 +0000 (GMT) From: Krzysztof Kozlowski To: Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [RESEND PATCH] hid: Drop owner assignment from i2c_driver Date: Thu, 19 Nov 2015 12:58:14 +0900 Message-id: <1447905494-30794-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJMWRmVeSWpSXmKPExsVy+t/xK7o3PHzDDHq2qVncOt7KaPH6haHF zU/fWC0u75rD5sDisWlVJ5tH35ZVjB6fN8kFMEdx2aSk5mSWpRbp2yVwZWyc389UsIC9YuvV fYwNjFPYuhg5OSQETCTm/WhjhbDFJC7cWw8U5+IQEljKKDF91SRGCOc/o8S7v9uZQarYBIwl Ni9fAtYtIhAv8ewohM0sYCjx890fdhBbWMBJ4sb3N2BTWQRUJRr2HQWr4RVwl5hx+zkLxDY5 iZPHJrNOYORewMiwilE0tTS5oDgpPddQrzgxt7g0L10vOT93EyPE5192MC4+ZnWIUYCDUYmH d8MpnzAh1sSy4srcQ4wSHMxKIrxll4BCvCmJlVWpRfnxRaU5qcWHGKU5WJTEeefueh8iJJCe WJKanZpakFoEk2Xi4JRqYFTVWuC3N61q2vXEq72Hl3NxLJb0vN3jvv7Q3vM/J5i/YX0a2qz+ S6p/hcqB24FZ+jOV8431vvPceRbCV2p6rfr8p5eO7OK1W3vm+5dN49vudIDtafAj2ayDG26c v55oap+pFs0+58ElodvcZQw7PUOZ94bN0ItZKvk6e/7s05W8cXcMvxyv61ZiKc5INNRiLipO BAACaA1m9QEAAA== 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.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 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 10bd8e6e4c9c..55d8f9d25696 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c @@ -1184,7 +1184,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),