From patchwork Tue Aug 16 20:38:02 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: 9284707 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 660046086A for ; Tue, 16 Aug 2016 20:40:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 503BF2863B for ; Tue, 16 Aug 2016 20:40:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44B7F28666; Tue, 16 Aug 2016 20:40:09 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E9F8D28666 for ; Tue, 16 Aug 2016 20:40:08 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZl8D-0002XJ-GH; Tue, 16 Aug 2016 20:38:41 +0000 Received: from mout.web.de ([212.227.17.12]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bZl88-0002Uk-V1 for linux-arm-kernel@lists.infradead.org; Tue, 16 Aug 2016 20:38:39 +0000 Received: from [192.168.1.3] ([77.182.93.131]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MQ6PP-1bUWCK3rox-005HMF; Tue, 16 Aug 2016 22:38:08 +0200 To: linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, "Rafael J. Wysocki" , Sudeep Holla , Viresh Kumar From: SF Markus Elfring Subject: [PATCH] cpufreq-SCPI: Delete unnecessary assignment for the field "owner" Message-ID: Date: Tue, 16 Aug 2016 22:38:02 +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:XjnlHWk/habcEw2RVmiaYfQVKI7uHCpZ51VKl+t6x3AUzvgExJp fNTZ07mKleHREU3U7Wgd9UXM4mmXI/in7fc/9K9vBzbdQmkxnOctGRZaQcgFvhIFwy6tpo3 s2WgdTG2I8dfHRzLEKM44GrqYLz7ZJbWDWckGCzX723X9vme998Wb7018+9/0sKk97dXbwZ X6bHOc72GE47ajqgKBcBw== X-UI-Out-Filterresults: notjunk:1; V01:K0:gjRIXClDs6M=:0J/yZX0qtZVc6UzCNriS8H XfSB6Socbe47SpNZ09TJ8I6zZvS4D6TPG1QB7uEfi9ckgb4EVEKnBv1r/Cyfz9ZYatuxqOQ9Q nb5GbeyyC2OexBy3opRZLIzFvJZHxKcmfVhDTBA6tC47vvZ407H5D5y3Y3XR5N02VMrSnzxBe gYAfzCHCnxE7c6Z97tnqNwMGvA54Jg7YkTXBDpqYPFuFvZKJ5P+rKozmLSyI6kOOI+V7iBw32 yS2kWvs8uedTPID5pL29L28yBHtf+KMCLppqcL9yTalFP5PY/jRxQDINkGxpnRYBcG5MQrGTv gRguJ57A5861hmWQSKdVB1dMSOIhdsFog5qbzP2JBQikU1oO0NHA7wZydbS4EjLl5MliGL01b tPJBAoR8Q/KDZckwPmOFqgTRoPzI1cV5p2BMQl1+V47GxSULG2vTcaTScBHLRToZTux/UYz2C /Oa47OsOrs7Cdce613Autb7O8PC+7S8VHZ86/0Dt/aMfmfndvWI7JMVlowJdqVZsy41X8z1t6 QYgocaAFPCJ0EyK3Ci68w+VgpxUbWIZ6wf8vFPMkXK+x00s1gFcxBntrq3aBCKZv9ChElsH0q o5WKwh/C9LPUjPn10+Kk2VO/JxCJo0ojL2+ouub9LVG7rDjvxeAVTVd+/k5MHhektkUzyqDqS p7xEy2Qykp7Fu97FmjLpPcIV6EFoz4GqE9pX4XGzkb95IVjh5rv9b6lD3NaEkI9JQcVi0WQPv cSqIOrD3BgmQvMEmy2KcC7R9CAhBEK0d/893X6xBgBtUWlUS9UxXphsibX5qmZiPCTicvQmRm nPBk+Kq X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160816_133837_432352_0A8AC57F X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Julia Lawall , kernel-janitors@vger.kernel.org, LKML Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Tue, 16 Aug 2016 22:30:17 +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 --- drivers/cpufreq/scpi-cpufreq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/cpufreq/scpi-cpufreq.c b/drivers/cpufreq/scpi-cpufreq.c index e8a7bf5..4a70d241 100644 --- a/drivers/cpufreq/scpi-cpufreq.c +++ b/drivers/cpufreq/scpi-cpufreq.c @@ -104,8 +104,7 @@ static int scpi_cpufreq_remove(struct platform_device *pdev) static struct platform_driver scpi_cpufreq_platdrv = { .driver = { - .name = "scpi-cpufreq", - .owner = THIS_MODULE, + .name = "scpi-cpufreq" }, .probe = scpi_cpufreq_probe, .remove = scpi_cpufreq_remove,