From patchwork Mon Aug 15 07:12:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9280393 X-Patchwork-Delegate: sameo@linux.intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 98FEE607FD for ; Mon, 15 Aug 2016 07:13:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85EF628B50 for ; Mon, 15 Aug 2016 07:13:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A45628BA6; Mon, 15 Aug 2016 07:13:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E94B28B50 for ; Mon, 15 Aug 2016 07:13:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932199AbcHOHNO (ORCPT ); Mon, 15 Aug 2016 03:13:14 -0400 Received: from mout.web.de ([217.72.192.78]:49921 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932171AbcHOHNM (ORCPT ); Mon, 15 Aug 2016 03:13:12 -0400 Received: from [192.168.1.3] ([77.181.162.63]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0MX0UC-1bebyC0JsK-00VwpW; Mon, 15 Aug 2016 09:12:44 +0200 To: linux-nfc@lists.01.org, linux-wireless@vger.kernel.org, Aloisio Almeida Jr , Krzysztof Opasiak , Lauro Ramos Venancio , Robert Baldyga , Samuel Ortiz Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Subject: [PATCH] NFC: Delete owner assignment Message-ID: Date: Mon, 15 Aug 2016 09:12:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2 MIME-Version: 1.0 X-Provags-ID: V03:K0:nn4KmYPHWT4NZwsQdFngHDR7PafCt1S1VlVIBIB74n25BpCLjZs VMfGtLS0EyM1vAPe6Tf/qTAbxGF8F9dqk8VjK+qGY1MCVoOusND+R2fLYufLw0OvoO6KZ6h gsItKBQLn4GrYS6iANNC1gsC5JXKkZXwGYVWF/D9wn6+M2sCZ1oftz2hGeQJlkiOGdNDLm/ 3UCOPNkX/ZcaKfbuo+yuA== X-UI-Out-Filterresults: notjunk:1; V01:K0:EWw0L8Fbmi4=:KPoEtf6GshDGZl5xnhi8rK 8pAqKxu+FtL03IE5otKApZeI62e2E257VLaVKnXcZkceiV8LGGtb5DdPE9F7jQB9jbBL9lsSD /uc/07ceARDASSZaxpdsykGQ0G3isd3iuXuOPrskOm5h2yxjVsN7SAbndn5zrkysSaQzn2Mvk wvn0+4ODF8L38nsOsGx6jT6CIZocMXiOl1alenb3PTO1UhSsajBlm0RDqbwKBMRvFqOxcpRUV 0+oxo0wlDTtjPAsGh5m05Um+1/cN9UeSjevo7sNHNh1sJ0pUBaa+Tu6raIrkh2i566x0JQO0b rKSX4BQK9KeC9gdd6ogh1qqexybNC5FaAorh77Oc/Qc7bKBZ+tZvfc/OEelj2PkyTiZI5FcCZ 4KnlbE0MSXZ8u3eG0lkUijArGi/GnFylYLtFXpa7OBDHySIGiUEaq5IdLwqTQ0m9yr+qC7XHp Wplzc7AmALFUXX2HrcyKU0UhrBgV4FJOEmNEDS0POc6swZDDlS6D1E6BGwbQbKuh0FGlPwwx+ PAlSBRr1nxDGpwiB7UmFC/vQ5JhKs+BZNflxqZVb4k2OjzlqXW1Lll33BqtzloKBG7TQbQZlB Cu9QjaR81NIhi3CTpqogv7M0xBHiyRrAkfjnrPCaG6P0KeNH/36Wzw7pEO865QZqrKrBj8Ouq rdnVXe8hNuTuLh09585mr6x/zLHW5Gm8FzfRe4y4o4LfeJukCG6qztLF8rRUUTzMjH3ZN+lZV pWWesgs+K8EWk1idkKpu7u0u3/ZN96ecGeXw+sv08hDwPacpDD4ob6YHe8du3vaE0CGkCmhn8 8Y+0vZP Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Mon, 15 Aug 2016 09:00:26 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/nfc/nfcmrvl/i2c.c | 1 - drivers/nfc/pn533/i2c.c | 1 - drivers/nfc/s3fwrn5/i2c.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/nfc/nfcmrvl/i2c.c b/drivers/nfc/nfcmrvl/i2c.c index 78b7aa8..45c64a2 100644 --- a/drivers/nfc/nfcmrvl/i2c.c +++ b/drivers/nfc/nfcmrvl/i2c.c @@ -278,7 +278,6 @@ static struct i2c_driver nfcmrvl_i2c_driver = { .remove = nfcmrvl_i2c_remove, .driver = { .name = "nfcmrvl_i2c", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_nfcmrvl_i2c_match), }, }; diff --git a/drivers/nfc/pn533/i2c.c b/drivers/nfc/pn533/i2c.c index 1dc8924..90798f0 100644 --- a/drivers/nfc/pn533/i2c.c +++ b/drivers/nfc/pn533/i2c.c @@ -265,7 +265,6 @@ MODULE_DEVICE_TABLE(i2c, pn533_i2c_id_table); static struct i2c_driver pn533_i2c_driver = { .driver = { .name = PN533_I2C_DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(of_pn533_i2c_match), }, .probe = pn533_i2c_probe, diff --git a/drivers/nfc/s3fwrn5/i2c.c b/drivers/nfc/s3fwrn5/i2c.c index 3ed0adf..2e762c6 100644 --- a/drivers/nfc/s3fwrn5/i2c.c +++ b/drivers/nfc/s3fwrn5/i2c.c @@ -290,7 +290,6 @@ MODULE_DEVICE_TABLE(of, of_s3fwrn5_i2c_match); static struct i2c_driver s3fwrn5_i2c_driver = { .driver = { - .owner = THIS_MODULE, .name = S3FWRN5_I2C_DRIVER_NAME, .of_match_table = of_match_ptr(of_s3fwrn5_i2c_match), },