Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2466620pxb; Sun, 8 Nov 2020 01:28:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzxfW/kwIWpMVU8PahJNIy3HlZuFWzCQfK7p/SjkO7ow45nQYqn4e2ukz5dyw1z4Jb55ANn X-Received: by 2002:a17:906:1f92:: with SMTP id t18mr10445887ejr.539.1604827712421; Sun, 08 Nov 2020 01:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604827712; cv=none; d=google.com; s=arc-20160816; b=RqG9L6LPP7CE+CSKrGE3pJZpaLFbqHnIoToAYTNYCO2zfBhcbPKMPCBxWIgYiI8HEE qnseY0mYHyzSehPyHWNP5T2W6hwdVJ+oLhoELmLspPNEjmasfWpttaW1tBCvG/d8eYUY 4r5KOvj1roMNBJgD590wougsq5oGl4FzNsh+pgBwwL7TBdCJ4kOgDZyJLlaPP9qnTDDq JfLICdTkgU3QC+2C3FDnktPh3HuQEYqBbWTv5rV8kL9sNMCNsitnwx0mWOdbMxNq0eqz v/CO/oBoK2l3D9DSNQiD9TUAF6yxBRX+vpVZ2wrFA2igdzoVNeMp+i1GJHLgBHtPUxeP sIig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XIfWIlm0bOuhaHMESVYE3thD8NF5UTzxeLwaj7NnHEQ=; b=KnNmF2Cj12vizHIaX4AbqLqe7L59r0FGMXd3MMp4mXajWr8u8jxfM7cUbvG/mtNCzV gUwJsiA4McH8RlXlAWaBFzif52nYdU7oQK1p9LTlbNOeNpIqHrRMr5xl/0MeUVYY5/2x vyIKi+w73fkLwpsvJumlPrJCLH+L/oH59MZwaD0nNwfjPAQiLgIWqdrIxHoLOIKyRqAe VxP92IYQ3bmuWa4sMyxlss9XdiiRvFfvmicgWY9jT6Ijz96oKdpC6dIhxb2VpnCFuSht uXuSzBe6PMLS4P8Fqqy80xKMT0BxBTcxFTBlhWf8V1MWLcwwwyoN7eIkx3wYyLpn8sZS M8aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=T8aftoYJ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g23si4868779edr.322.2020.11.08.01.28.09; Sun, 08 Nov 2020 01:28:32 -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=@kernel.org header.s=default header.b=T8aftoYJ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728191AbgKHJZl (ORCPT + 99 others); Sun, 8 Nov 2020 04:25:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:51886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726099AbgKHJZh (ORCPT ); Sun, 8 Nov 2020 04:25:37 -0500 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D0D0720719; Sun, 8 Nov 2020 09:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604827536; bh=0Re+BH04OjvQtiodOP0PAVO/kqbxE/PMUbtENeeHUCU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=T8aftoYJoOfJoY2D59wtyqCFPrcSPDuCqBe6z9Y88z18itxLZYrLQQoUiySYprX/w CeltL21788RGxrGqCPGHjUWJsuUW/aiyLgkfQF5xQteJWVIw4gGxwp93kbsT47/9ed KFVVrs14i0T/haKa/knwEHH/Xo7Crf9KJaPhdmXY= Received: by mail-lj1-f171.google.com with SMTP id r17so693827ljg.5; Sun, 08 Nov 2020 01:25:35 -0800 (PST) X-Gm-Message-State: AOAM5335wt3uT3SLq365qpcyGeMWT4K9imATGHktiEFQSWv9lqgxs+Pk re73Q0gs2V+w/MHHyiwkoNSjw5m3HQY3g0MvC+g= X-Received: by 2002:a2e:b536:: with SMTP id z22mr4077018ljm.177.1604827534166; Sun, 08 Nov 2020 01:25:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ilia Lin Date: Sun, 8 Nov 2020 11:25:22 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/7] opp: Allow dev_pm_opp_put_*() APIs to accept NULL opp_table To: Viresh Kumar Cc: Alyssa Rosenzweig , Andy Gross , Bjorn Andersson , Chanwoo Choi , Daniel Vetter , David Airlie , Ilia Lin , Krzysztof Kozlowski , Kukjin Kim , Kyungmin Park , MyungJoo Ham , Nishanth Menon , Qiang Yu , "Rafael J. Wysocki" , Rob Herring , Stanimir Varbanov , Stephen Boyd , Steven Price , Tomeu Vizoso , Viresh Kumar , "open list:QUALCOMM CPUFREQ DRIVER MSM8996/APQ8096" , Vincent Guittot , digetx@gmail.com, dri-devel@lists.freedesktop.org, lima@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, "open list:ARM/QUALCOMM SUPPORT" , open list , linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Reviewed-by: Ilia Lin On Fri, Nov 6, 2020 at 9:05 AM Viresh Kumar wrote: > > Hello, > > This patchset updates the dev_pm_opp_put_*() helpers to accept a NULL > pointer for the OPP table, in order to allow the callers to drop the > unnecessary checks they had to carry. > > All these must get merged upstream through the OPP tree as there is a > hard dependency on the first patch here. Thanks. > > Viresh Kumar (7): > opp: Allow dev_pm_opp_put_*() APIs to accept NULL opp_table > cpufreq: dt: dev_pm_opp_put_regulators() accepts NULL argument > cpufreq: qcom-cpufreq-nvmem: dev_pm_opp_put_*() accepts NULL argument > devfreq: exynos: dev_pm_opp_put_*() accepts NULL argument > drm/lima: dev_pm_opp_put_*() accepts NULL argument > drm/panfrost: dev_pm_opp_put_*() accepts NULL argument > media: venus: dev_pm_opp_put_*() accepts NULL argument > > drivers/cpufreq/cpufreq-dt.c | 6 ++---- > drivers/cpufreq/qcom-cpufreq-nvmem.c | 15 ++++++--------- > drivers/devfreq/exynos-bus.c | 12 ++++-------- > drivers/gpu/drm/lima/lima_devfreq.c | 13 ++++--------- > drivers/gpu/drm/panfrost/panfrost_devfreq.c | 6 ++---- > drivers/media/platform/qcom/venus/pm_helpers.c | 3 +-- > drivers/opp/core.c | 18 ++++++++++++++++++ > 7 files changed, 37 insertions(+), 36 deletions(-) > > -- > 2.25.0.rc1.19.g042ed3e048af >