Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2537920pxb; Tue, 9 Mar 2021 05:14:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkItccuF3CxTFSpRp+gltC3JAdmXx7lk0/pi5NP9Mvw6MhcVw5gUegk8fAi2odNmjAc9Kw X-Received: by 2002:a50:e80c:: with SMTP id e12mr4043478edn.229.1615295650672; Tue, 09 Mar 2021 05:14:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615295650; cv=none; d=google.com; s=arc-20160816; b=vw9DpMr1omyRWKw67ZlXQEPWuV6+fZi3EKUPe/j2v78XeQztJFJnI2iMJ8m01EXzgU T2FBDNYHQslAzVjxJ1aFraXmOLRbgZ2KMQIcs9C0o9BGk7vUzOQfGEFSkb2Dt2liCfAB n93g+mDrIpMkfHLXamw4atlOJIBKHR6VKp2aJxLtAdY/ERILoGyHbm0M7vVKTfOuLTJW TvQJuGqvtDwTTl27UljK/IptXQ2W7YvJURZ+OpOFx0Oe/ZgKdazoVQKXziMzhd/esAmh kgokadu8sxkkGXrLJKo8gObjAprgslF1syR9d9wyrbqE5nJiDWtZfuo1Z5vlZH/qskZl XayA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=lZS/9bjuyiYkCM4Zjc0upldsW6kcFBF3FWNxj94QcXg=; b=oqdsTjpZv0i7bHm2ieERpybl1+kI4YurRlYwBrCsb5FI1dscC5BhPTWDY6tPAGC70H fLjKvGEJ4Kvj+x1RyX3q7Xdh+T3Ijyy9+MGVvK4S8kgBO5amY86C8tGjx0o9z1uko6K2 ZfoJtd4V8OEtfZHRUtplzTKMStQKgjgfSdmHJxAGunlfHUc83znQ2B2WZGX0ILF0IFHo CMDQNaBPQ350oMHvQCBK76R+VyQFwdVhnej14YUNH7juh+pQj+wtOHsnH8ks373oUEd3 o1wGPh9961WKOkhTMjHSx50S0Ju9IfqK8v22kivGi7KCQayRQJ7DM2XCNgYGoSzwVIcA kZZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 15si9290284edw.387.2021.03.09.05.13.48; Tue, 09 Mar 2021 05:14:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231235AbhCINM5 (ORCPT + 99 others); Tue, 9 Mar 2021 08:12:57 -0500 Received: from inva020.nxp.com ([92.121.34.13]:46760 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbhCINMY (ORCPT ); Tue, 9 Mar 2021 08:12:24 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7C71A1A1011; Tue, 9 Mar 2021 14:12:22 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 45F191A0FFF; Tue, 9 Mar 2021 14:12:16 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 2CB22402E9; Tue, 9 Mar 2021 14:12:08 +0100 (CET) From: Dong Aisheng To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: dongas86@gmail.com, kernel@pengutronix.de, shawnguo@kernel.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, myungjoo.ham@samsung.com, kyungmin.park@samsung.com, cw00.choi@samsung.com, abel.vesa@nxp.com, Dong Aisheng Subject: [PATCH 02/11] PM / devfreq: remove the invalid description for get_target_freq Date: Tue, 9 Mar 2021 20:58:32 +0800 Message-Id: <1615294733-22761-3-git-send-email-aisheng.dong@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1615294733-22761-1-git-send-email-aisheng.dong@nxp.com> References: <1615294733-22761-1-git-send-email-aisheng.dong@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org First of all, no_central_polling was removed since commit 7e6fdd4bad03 ("PM / devfreq: Core updates to support devices which can idle") Secondly, get_target_freq() is not only called only with update_devfreq() notified by OPP now, but also min/max freq qos notifier. So remove this invalid description now to avoid confusing. Signed-off-by: Dong Aisheng --- drivers/devfreq/governor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/devfreq/governor.h b/drivers/devfreq/governor.h index 70f44b3ca42e..5cee3f64fe2b 100644 --- a/drivers/devfreq/governor.h +++ b/drivers/devfreq/governor.h @@ -57,8 +57,6 @@ * Basically, get_target_freq will run * devfreq_dev_profile.get_dev_status() to get the * status of the device (load = busy_time / total_time). - * If no_central_polling is set, this callback is called - * only with update_devfreq() notified by OPP. * @event_handler: Callback for devfreq core framework to notify events * to governors. Events include per device governor * init and exit, opp changes out of devfreq, suspend -- 2.25.1