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: 9284695 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 BC3C960574 for ; Tue, 16 Aug 2016 20:39:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4F8C28712 for ; Tue, 16 Aug 2016 20:39:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97D7A287A1; Tue, 16 Aug 2016 20:39:13 +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 4411828712 for ; Tue, 16 Aug 2016 20:39:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753582AbcHPUio (ORCPT ); Tue, 16 Aug 2016 16:38:44 -0400 Received: from mout.web.de ([212.227.17.12]:57594 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753538AbcHPUim (ORCPT ); Tue, 16 Aug 2016 16:38:42 -0400 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 Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.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,