Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp136513pxb; Thu, 21 Jan 2021 03:26:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHzeqxoMAMXQH9fn6hm0sR+wftZMItYqmo3HCyctmLDst7uQMVMzDeAqQrp6668XberDhS X-Received: by 2002:a17:907:971b:: with SMTP id jg27mr8808943ejc.14.1611228386068; Thu, 21 Jan 2021 03:26:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611228386; cv=none; d=google.com; s=arc-20160816; b=dLx3xrlWbN2MFdnkzguY+jT469QtxHdYcONY/ui8Ae8g+mP7KHOPC8E8Ge7YprLuch deAMHQz01W60CSQd9WcW51D0K/RODFNILt+YLOaRh5sbdYS05nNQkLsJA+ZfmavcHVVk 3TX8iqeLoZWfRLL5hFU94FUlmTKqu6jW0FgA/J0aHt25CyUkebOxS7X29Yh3Ts+m2zBq go8SwjlFG1j1tPszisON6cUllQTBjGjxin4c6vV5/mY9XeNdkJNFMABRquUFG/ClcqA7 LXdey35EebnLdULdO/pVolEY6A2rXFKoJkCqTo4cM8+ZOElvHOZgAyQYrqRzR/yO86HO dTSw== 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=h0wzxVCp7vsDsfYrbJj/QF/W/Q3HqOLOpGkJKKumpVQ7spV9yyg0ytt+Q23TG7+mYk eK3ep3/0UnOoLzNl2AN9pinmyruEaQvdqV8gEoQSXyXGF16wG8XhDpg5s1FQL2eOKOff 9ThODnSqv/+NwlSC1PV6/Ar7IoX1OU3yrpT0bxWnxTINHdJ3eFwlO2Rp4Qcqts8TfpRM Oj0hhE24wDXkZ1XpsNQECwSp9y39VcWkgdEQiTTdc77/wbrOnp4HadlYcg4VJV6cvoDC hdFzqLZkbcwzuSQSfMM+LUYH78TuWtDJ/Tq3rCW/dMMXOQb3GZ5cnu8o6ikd6l1Ki9sr Jm+A== 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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 m7si1809796eji.682.2021.01.21.03.26.01; Thu, 21 Jan 2021 03:26:26 -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; dkim=pass header.i=@linaro.org header.s=google header.b=l+IAUYm7; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729712AbhAULYM (ORCPT + 99 others); Thu, 21 Jan 2021 06:24:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730208AbhAULVe (ORCPT ); Thu, 21 Jan 2021 06:21:34 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06FBBC0617AA for ; Thu, 21 Jan 2021 03:19:16 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id s15so1094321plr.9 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=VCbtiYu0xV5wQmNee1OTbItdUiIfAInSNKoNDa6mUP/9qOoxTREKAgYHQHPNeZm0rj v6qKPFGdO2gaZXqXIr87Dvhp1qT8/LtmISbuU2jLzOt3H6AwgGZForDsssf7gO43954B uY5XlWV0S/NFts5BzmRX3XwLnHS9Ba1GmPtTVaG1DRqJYXe7nKCvtPrUhNBAkZn/63TY i0o3iib0t6a4s9qbso9dEwMUoxI3VzAZEUioXL9HTUwv83fxXAG6V1Qgg2EEIw0k7Sqp fQsPVJBuDiazuR1Z7Lf+hQCa5Q/V4XQZln8mc4u3JGJep61TvvNtfvkSA2B+UkMeqfOZ l+iQ== X-Gm-Message-State: AOAM533pScsNJsIY6rzuW4/aZHoPIupUotbCd8SxAZpVPJdd5qNr0zw4 PErEP+C/Efan3r4AnY6pmzF6xg== 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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; -- 2.25.0.rc1.19.g042ed3e048af