From patchwork Sun Apr 28 08:54:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian Dong X-Patchwork-Id: 10920845 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-2.web.codeaurora.org (Postfix) with ESMTP id C1B091398 for ; Sun, 28 Apr 2019 08:54:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ADFE2283C9 for ; Sun, 28 Apr 2019 08:54:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9ECDC28449; Sun, 28 Apr 2019 08:54:54 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,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 19011283C9 for ; Sun, 28 Apr 2019 08:54:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726252AbfD1Iyw (ORCPT ); Sun, 28 Apr 2019 04:54:52 -0400 Received: from m12-13.163.com ([220.181.12.13]:46392 "EHLO m12-13.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726247AbfD1Iyw (ORCPT ); Sun, 28 Apr 2019 04:54:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=91IVm mFNSsbC8jMuap9NKAy6qR0joeIxALhIy0WOl1U=; b=XmJ4T4p08RSajlXZKhqsy apboWWkwkohtVdvupqQklw8N81sabM/r+LsPJdyi+sYrgBdEGelO+E+TmVHCOSJ3 J6mHpr7wSu0RVHN1UqXfQKzc9LvikAbKObNPERUQfC2yDZs49OaZ4pnyBH8obZpm 7M5oVj55bZ6yVQrNUbw8wE= Received: from DONGJIAN-NJ.ccdomain.com (unknown [218.94.48.178]) by smtp9 (Coremail) with SMTP id DcCowAB3znlLasVcfIBrAQ--.11653S2; Sun, 28 Apr 2019 16:54:38 +0800 (CST) From: dongjian To: rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: linux-pm@vger.kernel.org, dongjian@yulong.com, huyue2@yulong.com Subject: [PATCH] cpufreq: Fix centrino_setpolicy to centrino_target Date: Sun, 28 Apr 2019 16:54:17 +0800 Message-Id: <20190428085417.16156-1-dj0227@163.com> X-Mailer: git-send-email 2.20.1.windows.1 MIME-Version: 1.0 X-CM-TRANSID: DcCowAB3znlLasVcfIBrAQ--.11653S2 X-Coremail-Antispam: 1Uf129KBjvdXoW7JryftrWfAF1UtFW7KryDZFb_yoW3Xrc_ur 1Sgr47Wr45u39rZrnxur1rX34aka4xuF1xXF1vk3sIqa42yry5Zw1kZry8Zr1fJrWUAr9x C3Z09w4FkF45tjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8XdbUUUUUU== X-Originating-IP: [218.94.48.178] X-CM-SenderInfo: dgmqjjqx6rljoofrz/1tbiTA6k3VSIeyxihwAAsV 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: dongjian The code is using centrino_target rather than centrino_setpolicy. Signed-off-by: dongjian Acked-by: Viresh Kumar --- drivers/cpufreq/speedstep-centrino.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c index 7d4a315..26fab0c 100644 --- a/drivers/cpufreq/speedstep-centrino.c +++ b/drivers/cpufreq/speedstep-centrino.c @@ -412,7 +412,7 @@ static int centrino_cpu_exit(struct cpufreq_policy *policy) } /** - * centrino_setpolicy - set a new CPUFreq policy + * centrino_target - set a new CPUFreq policy * @policy: new policy * @index: index of target frequency *