From patchwork Thu Jan 21 11:17:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 367813 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp471916jam; Thu, 21 Jan 2021 03:22:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzksLwkDLD1ezfrZ6a5p4nG8NKrKrqQSuxjnrzoAa4qZaRWkyBJD3SrlbgJzackRUHV1evD X-Received: by 2002:a17:906:f98e:: with SMTP id li14mr9129561ejb.415.1611228130219; Thu, 21 Jan 2021 03:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611228130; cv=none; d=google.com; s=arc-20160816; b=SaDys34Fv88qJu0uEQ8hi/N5c49yvR+yIr+gRX4q69eVx3BJMLL2KA7L8agbOmy2i2 o72CVtmzaHGjPnLGlipWAEO0ytLk4xyxcVcmr/6XNvR2OLYdIWIgh9+PJhjJUQtAkVop X9x2SdUNQnf+UyVkExFZ8uYYza2UxhG8yilv8hXioikZWC4dCIOrGOlj8pRHsOQRz9oQ G2ejnSv/vUueK5mzw0r7qknylSY6vwJ4JWGxvhJCZeS0xjHYbdc50Q8fqyiQMRysoTm+ x0e+IvzxWqZCYzmh0fVB7Jm2KYzauu/ltGBuP+j+AAN9yh2hYMPG1itxR3Ajsuyn1JAC 54kA== 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=sc4RKhDP//JPOMDhY7YCUQxeEMkiC/uPecJg02H/C7o=; b=htFywIhg9UTEkQErWCRgekZbmAHB5AfmeFvy9lx8UVp30mE5URhDlVjsWoFtIRi8xU tbdsPfYSK7e1rNOpWXjPmNhjhF28o7H4k4mrDx2Ul+AzU0Fd1V8tbvgE2C/GtAzmNL4D zRn+tJ7LXW3AWK8hW5LK+avwW1d+0b4cTNgd9c68LJxFbThZ0s7UiRcha25A894MCYhe NFtusAfo/BzBedtoT3WAzuq2bdM/U2WOFVlXExmykVrAn0lfk0eW3GmGRcycwekvM0Ib 10z+eHWA82Eatz54Ey2v52i6fcYEabxlGROSfE47ki0aOK+GJ5gWasls6uZ47tctVElx NHew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=l+IAUYm7; 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: 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.09; Thu, 21 Jan 2021 03:22:10 -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=l+IAUYm7; 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 S1729924AbhAULVe (ORCPT + 7 others); Thu, 21 Jan 2021 06:21:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729923AbhAULVN (ORCPT ); Thu, 21 Jan 2021 06:21:13 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05213C0617A7 for ; Thu, 21 Jan 2021 03:19:16 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id b8so1133442plx.0 for ; Thu, 21 Jan 2021 03:19:16 -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=sc4RKhDP//JPOMDhY7YCUQxeEMkiC/uPecJg02H/C7o=; b=l+IAUYm7EFFo4t2J9K9y1homcgzoofuLPhJewoVATAFKtJg6FXyHwS2xW0rpFUTRHV 0VKWEJvRNqSxZWuzsLNt/c0JLq2Cpa0y6HOD3slSw3e3u01OJT4ei9LtHA+9mAS4E+e0 ZrW068O3VrMsNGnFvp6u2l0/u9WAI8YevpehexN1DMnm1c3YG//LXbjknAvqtN/oOpFH EZ1gSzViZvXX1doq/J5KOHLewT76zw0MOY/tM6Mvx2FezcifiP/0cHUjZ5pGAhTd2XYC UIlHo2ZP06GzddxHR81p+DeIXuMc4gRZzrAoMDgmg0JP7gIK5KRDPPgZxZUKYZhtePem HQ0Q== 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=sc4RKhDP//JPOMDhY7YCUQxeEMkiC/uPecJg02H/C7o=; b=lVJDvLohhI1HPUi0o5QJ1UyWqrE8Bvknfk7VMvhfIuP2AcBEy8UG9hTgVnd+zK0p24 Oc0ZmKkwuZ3HcdGhmSyXZqEQwT5j0R+V/SmVszgjnioqAIP18r5g1Fo3B29HGCz0GqWP oY3urELMiC0svLePc0JyPn+vHcodECN3vTC+RTigjv/lOLIyKD/DZLA7fyXPlGeZn4Hg KLPdB9NnF0g5rhhT2mbLoQ7rKBrPKkSVdf5AgRNQnz8PxL670N5BCqm6HWwyB/PtM9JX 80qWJpMJioctF1w63d+gyIwgvJ0Gxp8BWBuUdjMq28PUUbp1AQIxLH0IIlc1PIm9qhde jQ7w== X-Gm-Message-State: AOAM532itKeftlXfhKq/pDQBNqp8tApoG3fXbwEK1tBipQMPHko/aQJh 8AbKnD2t4XoCVCVN8iziWgAm9A== X-Received: by 2002:a17:90a:ad48:: with SMTP id w8mr11326968pjv.48.1611227955542; Thu, 21 Jan 2021 03:19:15 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id ge16sm5827745pjb.41.2021.01.21.03.19.14 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jan 2021 03:19:14 -0800 (PST) From: Viresh Kumar To: Dmitry Osipenko , MyungJoo Ham , Kyungmin Park , Chanwoo Choi , Thierry Reding , Jonathan Hunter Cc: Viresh Kumar , linux-pm@vger.kernel.org, Vincent Guittot , Rafael Wysocki , Stephen Boyd , Nishanth Menon , Sibi Sankar , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH 11/13] devfreq: tegra30: Migrate to dev_pm_opp_set_opp() Date: Thu, 21 Jan 2021 16:47:51 +0530 Message-Id: <3345fd49f7987d022f4f61edb6c44f230f7354c4.1611227342.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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 --- drivers/devfreq/tegra30-devfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.0.rc1.19.g042ed3e048af diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c index 117cad7968ab..d2477d7d1f66 100644 --- a/drivers/devfreq/tegra30-devfreq.c +++ b/drivers/devfreq/tegra30-devfreq.c @@ -647,7 +647,7 @@ static int tegra_devfreq_target(struct device *dev, unsigned long *freq, 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;