From patchwork Thu Mar 2 11:08:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Kurtz X-Patchwork-Id: 9600137 X-Patchwork-Delegate: rjw@sisk.pl 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 59A78600CB for ; Thu, 2 Mar 2017 12:25:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 435A328507 for ; Thu, 2 Mar 2017 12:25:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 368C2285B5; Thu, 2 Mar 2017 12:25:27 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 4B8B328507 for ; Thu, 2 Mar 2017 12:25:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752563AbdCBMZR (ORCPT ); Thu, 2 Mar 2017 07:25:17 -0500 Received: from mail-pg0-f43.google.com ([74.125.83.43]:33528 "EHLO mail-pg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751628AbdCBMZQ (ORCPT ); Thu, 2 Mar 2017 07:25:16 -0500 Received: by mail-pg0-f43.google.com with SMTP id 25so31985541pgy.0 for ; Thu, 02 Mar 2017 04:23:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=xHUrdGSoYBPLGCKAxUSHnmbf8ZvlWvTs8mm+DucOSvk=; b=Aj1Wre+tojOJjjHVx6UiG4uwEinIvwrvFFPZ4fvFgNhinhikwSme4vhTVN+7UKSvC2 DIKXwMRguI7pfAN05RBOvuCCOXWNyfbnOP5Ke/ARCdeyqGqrW2Unv+wbRuZOqY8/K45o g+FEvHKSzYp1A+JzKpX3DsQaZk+vY58FWB2so= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xHUrdGSoYBPLGCKAxUSHnmbf8ZvlWvTs8mm+DucOSvk=; b=HYrZ7JoUxvvDAVArF2vQ1yQOjeklHTIif+yTwfryrgup5Q0HuHFaPgbxtTgxT1ZlrQ R13+Iic95R7AtcBJVUpuCkrcqWoc2raRE3Beeur+w72h1Hx4et63qy1uLf3tY9bMR1sb ZXnMfmE3JMOUZBchLbwo3HevmCSl8/NGuXRYmOGQD7/wKNJ2dgUGY7BbtrNT/MlXIbIe CHCBSP3ViCIgvBLlgA5xkeVexCHqNTHg1goLwT0CgogTgibnwJj0JaPeoCZKyyhdVIN9 q0yMg6quKMfBKK5mpPBWo1xosQyJqKQaASg+MP1I4UBgz0WYb7ps0jTSheCVrEAgNUmh AHGg== X-Gm-Message-State: AMke39mvGKyIcKb4eR51Pj2JgIbH363Dm1O7C3CwjTbH3dyqpG9gjbQrMu6Qnvz4ShEnjIll X-Received: by 10.84.231.205 with SMTP id g13mr17830731pln.30.1488452943561; Thu, 02 Mar 2017 03:09:03 -0800 (PST) Received: from djkurtz-z840.tpe.corp.google.com ([172.30.210.11]) by smtp.gmail.com with ESMTPSA id q7sm16361681pfb.98.2017.03.02.03.09.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Mar 2017 03:09:03 -0800 (PST) From: Daniel Kurtz Cc: Yidi Lin , Nicolas Boichat , Daniel Kurtz , "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org (open list:CPU FREQUENCY DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/2] cpufreq: mt8173: Mark mt8173_cpufreq_driver_init as __init Date: Thu, 2 Mar 2017 19:08:58 +0800 Message-Id: <20170302110858.185614-1-djkurtz@chromium.org> X-Mailer: git-send-email 2.12.0.rc1.440.g5b76565f74-goog To: unlisted-recipients:; (no To-header on input) 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 This function is only called once at boot by device_initcall(), so mark it as __init. Signed-off-by: Daniel Kurtz --- drivers/cpufreq/mt8173-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/mt8173-cpufreq.c b/drivers/cpufreq/mt8173-cpufreq.c index ab25b1235a5e..72bc1192bd30 100644 --- a/drivers/cpufreq/mt8173-cpufreq.c +++ b/drivers/cpufreq/mt8173-cpufreq.c @@ -573,7 +573,7 @@ static struct platform_driver mt8173_cpufreq_platdrv = { .probe = mt8173_cpufreq_probe, }; -static int mt8173_cpufreq_driver_init(void) +static int __init mt8173_cpufreq_driver_init(void) { struct platform_device *pdev; int err;