From patchwork Fri Jul 10 06:30:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 6762361 Return-Path: X-Original-To: patchwork-linux-spi@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 27BACC05AC for ; Fri, 10 Jul 2015 06:30:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5DA7C207BF for ; Fri, 10 Jul 2015 06:30:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 67066207C9 for ; Fri, 10 Jul 2015 06:30:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752989AbbGJGax (ORCPT ); Fri, 10 Jul 2015 02:30:53 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:9566 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752393AbbGJGav (ORCPT ); Fri, 10 Jul 2015 02:30:51 -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 <0NR900C04E3DM240@mailout3.w1.samsung.com>; Fri, 10 Jul 2015 07:30:49 +0100 (BST) X-AuditID: cbfec7f5-f794b6d000001495-15-559f6699050f Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 72.36.05269.9966F955; Fri, 10 Jul 2015 07:30:49 +0100 (BST) Received: from localhost.localdomain ([10.252.80.64]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR9006A1E38ON30@eusync3.samsung.com>; Fri, 10 Jul 2015 07:30:49 +0100 (BST) From: Krzysztof Kozlowski To: Mark Brown , linux-spi@vger.kernel.org (open list:SPI SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Cc: Krzysztof Kozlowski Subject: [PATCH] spi: Drop owner assignment from i2c_driver Date: Fri, 10 Jul 2015 15:30:46 +0900 Message-id: <1436509848-5051-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEJMWRmVeSWpSXmKPExsVy+t/xq7oz0+aHGvz6YGYx9eETNovXLwwt Lu+aw2bR+PEmuwOLx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fAlfFnQwNrQT9bxf+P /SwNjO2sXYycHBICJhL9yyczQ9hiEhfurWcDsYUEljJKHO7J6mLkArL/M0pc37QYrIhNwFhi 8/IlbCAJEYE2Rok1i7oYQRLMAoYSP9/9YQexhQWsJdZc2QtmswioSqzYdRhsG6+Am8Tr22fZ IbbJSZw8Npl1AiP3AkaGVYyiqaXJBcVJ6blGesWJucWleel6yfm5mxghPv+6g3HpMatDjAIc jEo8vAFs80OFWBPLiitzDzFKcDArifDySwCFeFMSK6tSi/Lji0pzUosPMUpzsCiJ887c9T5E SCA9sSQ1OzW1ILUIJsvEwSnVwChcFsX9+xer97HLSzwmLIjnqj5eEjPbfMnqA4fiLx/eMWdi 7LYza05sac/99YY7q4pR9IXFlOuRDzamav59Htw07dHv5g1Hr2QpbXKewiS9e0JtoEez4KQt jAHHrh5avFEkqe6y3+PtO4uiCj1Tt8XVL7OakdS+ZtK7exsk4hRvfppzlmti6pLpSizFGYmG WsxFxYkAMvXvdPUBAAA= Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@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 --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/spi/spi-xcomm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/spi/spi-xcomm.c b/drivers/spi/spi-xcomm.c index bb478dccf1d8..d0561a8d9f16 100644 --- a/drivers/spi/spi-xcomm.c +++ b/drivers/spi/spi-xcomm.c @@ -241,7 +241,6 @@ static const struct i2c_device_id spi_xcomm_ids[] = { static struct i2c_driver spi_xcomm_driver = { .driver = { .name = "spi-xcomm", - .owner = THIS_MODULE, }, .id_table = spi_xcomm_ids, .probe = spi_xcomm_probe,