Message ID | c28815c88b59fe0f5c8ba5e4bda273d703b5d9b9.1611227342.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Commit | 8d25157f738c413b40b82776b0d260cd23505266 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp472312jam; Thu, 21 Jan 2021 03:22:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAlm/Ytybm3JedRq6O9aiMurMl1locbtm8qtlww4HprzpoppXTNeVhgk1zRn60KknOkoNh X-Received: by 2002:a17:907:b01:: with SMTP id h1mr8771225ejl.450.1611228161773; Thu, 21 Jan 2021 03:22:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611228161; cv=none; d=google.com; s=arc-20160816; b=gBW8kFQ7qsqnxfcWZO2wSUnprraPUpB1E4uH4ft8R7ZMmbkYvnqwq8bOloiVturOep Rys/lsdcqffxL+WrhMN6SwKP/dfHdeiM0pdME9G+lfnfjEPBpRCglgsuOarrrbGFSxxY 7JhVqA8LQ1yNccMLNfP+G5bSQinMFg8WZRLFhhSBpN5yJiGBqxXJyN4khu/TO28sfpGs bjQgiyj0Z49mSiUXlZwwnZI6uP959dKcWDxgW7Tugo0dwKqHqV/DwNp3jq4XgcGedh18 8c1WXVKn1EGrg5fivqACF2GLN45fKG283D1qI2bYeGjrlwM63SjhDoiNq1/n3KhPDi76 CjkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jQe2wetugU1pRDNoKc4LJOQOkvxp53VsnbiI6RDAfCk=; b=iMiHVL3DcEFODTh1/7OUt4XEs44aAq+wWhnjzIRx+8JiCPaRbqxGHR9iG6zWyLxw3/ w673hIaJe8sejn2PYgm/LtX/DFoXDe1W/LITGRlDrjlZ+4vbhcTDkNhPcq+luverb8wj R5hhawNIenkjZi5ZLo/rvNQrMhMRG6/2/oRI7KI4TtMkxd1h3fC2TVB+QBvSAzPk68CW /WvG+FUmv5Zk+qWPghZQ8Skp6we2Gpg0KttL2Bv8AwmulJiw9oEHWp2YSN7M3XS/1vk+ CS8gksC4TEwg97g2MWqSQjcH48V053+kOagvnGGgSXZ2A/1+f00bOIQS6zhCxXVwrn3n mSlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JWhI8jHA; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-pm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si1753700ejq.244.2021.01.21.03.22.41; Thu, 21 Jan 2021 03:22:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JWhI8jHA; spf=pass (google.com: domain of linux-pm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730227AbhAULWf (ORCPT <rfc822;jun.nie@linaro.org> + 7 others); Thu, 21 Jan 2021 06:22:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730199AbhAULVe (ORCPT <rfc822;linux-pm@vger.kernel.org>); Thu, 21 Jan 2021 06:21:34 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F073C0617A5 for <linux-pm@vger.kernel.org>; Thu, 21 Jan 2021 03:19:13 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id t6so1129168plq.1 for <linux-pm@vger.kernel.org>; Thu, 21 Jan 2021 03:19:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jQe2wetugU1pRDNoKc4LJOQOkvxp53VsnbiI6RDAfCk=; b=JWhI8jHACexdhKZNQAB1k51Ex/gbBkuWtH4b7zMRmysDqXvSdtCk6gcqxtwhoC5lIf nlR6DkSOZnJL4r0XDi8JDy0lYfZKXQrzUKPm1HY31puRm3boWLqQAxaOgLMGiVuVStDd uIF6RYV1mDZ+GATOjv4zbSw8OjxDRRXYlTiakQgfcmprBexc9p5d5Awrkut673Bj1yZt OuWYzZ3b+q4rFTbTDdO/JhfOa38uQLNYS4HkYy/Rq3znUWIO/1glthWAlFBnrHG/UvWM G2q8Z1UyJu0RnmG0fKq0oQ9Hpv2eSuTGnzuTBS+kW2v9C4eZe8BBs7GQUA4Vm970BeRI AD6g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=jQe2wetugU1pRDNoKc4LJOQOkvxp53VsnbiI6RDAfCk=; b=NXZ5fMMhEG2wrU+eaBtHgdbKbYyF/aeCjL2S2ddlSZZxLRQdVPDQEYp/lASjYpjh+B hZVwD+vMZz6mNvVUd+aXf5DAlM0S6z85K198gqexCJtxwPVcwsR43kKSz285u8qeU7s6 q/pJZTBGUiyJZJwfg+xh0+21qk4ECTWOt8bLx87RHAMdQc/CvRDj2RVKYOSa1EUO67bz jQGmkNXad+jd5E1/5Czco3NU5IiGwyqsEOUgHQ8sXWqWPmBj+iKThu7WgUQ5uiyHD/ff 3Tvgo0Oi6iN29Jh8CrOXosDR7qhWUDM0K9NpuD/gMXiv/Bs7SRACdozKLdRcvep7YrHp xhDw== X-Gm-Message-State: AOAM532UOeTSc9UgzCtbbaKri4n1i76Mwha1uypLCbYyR8C9zcddSbX/ /BacBse6Ep5GNrefwloVz0yWag== X-Received: by 2002:a17:902:e8cf:b029:de:a91c:5ec9 with SMTP id v15-20020a170902e8cfb02900dea91c5ec9mr14575866plg.27.1611227952607; Thu, 21 Jan 2021 03:19:12 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id z13sm5393490pgf.89.2021.01.21.03.19.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2021 03:19:12 -0800 (PST) From: Viresh Kumar <viresh.kumar@linaro.org> To: Dmitry Osipenko <digetx@gmail.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, Viresh Kumar <viresh.kumar@linaro.org> Cc: linux-pm@vger.kernel.org, Vincent Guittot <vincent.guittot@linaro.org>, Stephen Boyd <sboyd@kernel.org>, Nishanth Menon <nm@ti.com>, Sibi Sankar <sibis@codeaurora.org>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 10/13] cpufreq: qcom: Migrate to dev_pm_opp_set_opp() Date: Thu, 21 Jan 2021 16:47:50 +0530 Message-Id: <c28815c88b59fe0f5c8ba5e4bda273d703b5d9b9.1611227342.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af In-Reply-To: <cover.1611227342.git.viresh.kumar@linaro.org> References: <cover.1611227342.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-pm.vger.kernel.org> X-Mailing-List: linux-pm@vger.kernel.org |
Series |
opp: Implement dev_pm_opp_set_opp()
|
expand
|
diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c index 9ed5341dc515..7df18903b66c 100644 --- a/drivers/cpufreq/qcom-cpufreq-hw.c +++ b/drivers/cpufreq/qcom-cpufreq-hw.c @@ -54,7 +54,7 @@ static int qcom_cpufreq_set_bw(struct cpufreq_policy *policy, if (IS_ERR(opp)) return PTR_ERR(opp); - ret = dev_pm_opp_set_bw(dev, opp); + ret = dev_pm_opp_set_opp(dev, opp); dev_pm_opp_put(opp); return ret; }
dev_pm_opp_set_bw() is getting removed and dev_pm_opp_set_opp() should be used instead. Migrate to the new API. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/cpufreq/qcom-cpufreq-hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.0.rc1.19.g042ed3e048af