From patchwork Tue Aug 16 13:32:09 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: 9283803 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 E5B9960839 for ; Tue, 16 Aug 2016 13:33:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7C0E286D4 for ; Tue, 16 Aug 2016 13:33:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC17528700; Tue, 16 Aug 2016 13:33:08 +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 68A54286D4 for ; Tue, 16 Aug 2016 13:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753246AbcHPNdH (ORCPT ); Tue, 16 Aug 2016 09:33:07 -0400 Received: from mout.web.de ([212.227.17.12]:64021 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753220AbcHPNdH (ORCPT ); Tue, 16 Aug 2016 09:33:07 -0400 Received: from [192.168.1.3] ([77.182.93.131]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MOAjQ-1bWKYu2flU-005YVB; Tue, 16 Aug 2016 15:32:16 +0200 To: linux-hwmon@vger.kernel.org, =?UTF-8?B?R8O8bnRlciBSw7Zjaw==?= , Jean Delvare , Punit Agrawal From: SF Markus Elfring Subject: [PATCH] hwmon-SCPI: Delete unnecessary assignment for the field "owner" Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall , Sudeep Holla Message-ID: Date: Tue, 16 Aug 2016 15:32:09 +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:M9jQJUeQNgpxMyUO1AvY9ybQXN0KAM28BwWrBWjLGJyMp34R12n xldloGTFCBqrZf5hGH3LUqo1LmI4m68J3Gki/o8C1yWBEw1ikDehx+6wJiK8cCAb1KcheEs OdrOQeZ+S3qXM6FNiqzW6X5psHOBPoeKdySXwcVp3cp+XRJPUy3FuKBM4EjGZQ6w+4FaHUO c9s7QqfHNHzSefw5v4tUg== X-UI-Out-Filterresults: notjunk:1; V01:K0:rHtBsdEI49c=:bcqn+IyXVOAm6L3hJ7WvNU QLc1dYcX6jbZV7EXbsWyFWLCImx0B5brcX0XQKRoz7VCk58Nm+TZX9JQurw7nzLfSmusrL+Jb 1zOAIys3I9VDd6US5szlL2QMCbTp92w000JP4xiEE3efY/LzSbfS4RXe2cn9RFzZoX0soZCYE w2xR60HNtyVH4qFXLUBRc0+hVHeHPtQLSznsnpKh8fHiExh6p9hxkutQasbl16bCXmddCqGAG P0yzT6gacxDkLtT7PcN/NFpfJ4ey9gP+S6nXMHg2DMM1JwJaT664ya/Wf54pjaNOXRTEW2X3S CNfPJMHsOokz4j820mt7xtco2qeMMNJuZt0K+6RIR/pM2YxHnpktPWL3uCj21AHLTrhyUmFBP i90zrXW01c5/AMDdYooQqJqlyCbjGgYpkZNoj7QCQzLCpTU2XxLy8gUWw574wt/5/yEEZ+Jv/ Echy0564y70BIw/nL3ZJ94PJRy2J1wjjhWG+v5YVcFmjuDWzTc23ZUVy1i2RtxId7grdczSgE Va+qbl7YdGnianXyCdAm4dd2t5skvQUCDab9s+S7UddDOh5lJPhYM7IutS6LGdc12JTJlXa/y zsoRWrE7IJl2yTQx4Wu1sb3oehnuYzLzIRvaI5cRKCC+Rns6vCIIhNLDmeFTL6A7MSMXcf/Wh lazPk3c5DBPBkBmkE2IDnbn8UlTsyrZUO5hDV587QFKSke3LVdoG2EIsSy528K9qu3KiLxive dn/wKrB1tqOFs0VD/GnBiVCoFpdSVTIoZwv4B9XSBhwl8CGWo5xhyuWZ0IXzyGIZLdSyLTdzX 4NEiBSg Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 16 Aug 2016 15:17:13 +0200 The field "owner" is set by the core. Thus delete an unneeded initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring Acked-by: Sudeep Holla --- drivers/hwmon/scpi-hwmon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwmon/scpi-hwmon.c b/drivers/hwmon/scpi-hwmon.c index 25b44e6..559a3dc 100644 --- a/drivers/hwmon/scpi-hwmon.c +++ b/drivers/hwmon/scpi-hwmon.c @@ -255,7 +255,6 @@ static const struct of_device_id scpi_of_match[] = { static struct platform_driver scpi_hwmon_platdrv = { .driver = { .name = "scpi-hwmon", - .owner = THIS_MODULE, .of_match_table = scpi_of_match, }, .probe = scpi_hwmon_probe,