From patchwork Fri Nov 6 07:03:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 320773 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1079981ilc; Thu, 5 Nov 2020 23:05:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJxuedNUAsmTdgLfAzJQp5YBIHCTU/SKMa2AFKEjTcnv0gazxbq8dZGuC18B5jJ9nlZIT5iM X-Received: by 2002:a17:906:e2c3:: with SMTP id gr3mr646928ejb.471.1604646320512; Thu, 05 Nov 2020 23:05:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604646320; cv=none; d=google.com; s=arc-20160816; b=OI6d9Pt++r20TbIsHgaV2R7G7xa/wrNOC1bkIzl3K3hJhsE4q2Vdw1I5OqYbynkqsb 3jsg6S/486FAEfzOUzHrj+NdO9RagcOPZC2fWsHM5VzRSpDp0qYRDBRHx7qEnrjoxfa4 uT34/5UdSNQ1NSGASqyUR90IHiVPbhV9LQbZS6+EBwZ4hPXSOSotrkV6srFkQYOCVARA raMiZ3thygUZEzoFv8hbEOJuQqzxUzqmVsUPS98GVbIidEkFWDWfDYL8Q0eeKMYWlYO/ SqkI23F+mF+y1K9N1iTId/iEZz8oX/owopLIpAFHIvgPvzIpMeAe+aFjC7abKmBgjBCs bARw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=X+vlFfwXaQyT67tNUyi81s2s5dR5xJEgy0PknD0rbz4=; b=GCHLPpEWNyJnPetOCuD2s8Mvu8ck30b2bclI8JssAUABO47x0DylRGRJKuK7zJt3Fg B1X+F3ePpDtPHsIDNgN10tiz2kBNkQppH8GGP+8tQ82nal/TRA5QjnZNLBx22gryvlNY tGjoIIPmBAD4j6Mkq0cQxYgEjgozwn/yitfQLY/7L7K6kc+8FxN/Hsqcdx53xAj0vGae 5bfup+/7PmsepSkh+7oSvA0YclEpsaYc+r+bqvp6Q65MXpP1oMMFnBpaFi2J7lUNdpV3 MH4Am56MZnKig9v7YGO4mRX0iz5OP6+lTG15mBR1ZA7p3p7pII/FcxrjGtE3xbe2+LGs Y4JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x7tyrPda; 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 x40si411220ede.69.2020.11.05.23.05.20; Thu, 05 Nov 2020 23:05:20 -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=x7tyrPda; 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 S1726174AbgKFHFT (ORCPT + 9 others); Fri, 6 Nov 2020 02:05:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725828AbgKFHFT (ORCPT ); Fri, 6 Nov 2020 02:05:19 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16DC2C0613CF for ; Thu, 5 Nov 2020 23:05:19 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id c20so458868pfr.8 for ; Thu, 05 Nov 2020 23:05:19 -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:mime-version :content-transfer-encoding; bh=X+vlFfwXaQyT67tNUyi81s2s5dR5xJEgy0PknD0rbz4=; b=x7tyrPdaqh682SqGflCsojgjTQx+BXzkcw1rNmmcDJ4f1/CcNFqWsU2TeslilqRYW6 zc5/q2J7DYA6GaZpIl9YJEuw5A+2BygaKtcNZGbiJXmhxkSHLYjjXBFUVrm/3kU2FfxF HOpl09BHz7pxQM1vSb758PMQEHgdQo7a0vFwzSK04ezcCvy5z2tN77zFwQKb0oCEVS7Z 5Wf5xaSLDOcwVEQi6x3vCm1v9HcJ36wHsCS7oCefyqpWqoytt13+6MJpeHbxPKWMFUZ8 7D71Y1LBl2lTl2Ui7t2WW7/HoEOYoPNzVDuHeqlnp7Y7cKSpCWRT/VBoOVOVT9t0JXT2 P84Q== 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:mime-version :content-transfer-encoding; bh=X+vlFfwXaQyT67tNUyi81s2s5dR5xJEgy0PknD0rbz4=; b=cUe5putLafpMEbItxQX6hH/O/D39KuPpIql2K4dalBMAJccgA9IQg4qwQ7SDpNh4kq 5kaxZfSVwV6RpQ1zoCoiR3TKPJcoW7vOYBmmQZ+dssc19ngWW0oj5fRo8yegasMbKlSg m+x+pavt28wy2H8yGlrYGuquGJqjxhoARdc3surhcQXI2+mrahD3KpryoiBU9kglM7Pb t/a7MWK0K0wT9YGl5LH3YmaRY+aFnb6i4FuzHEEMfYw9DPQbJ/ddQ4LrdSlna9zmKp9C 9z2RztP1Zo4gXrk58hwSgVaCVaY/XIWCmZg6hKGgPV9HcbDSN05vRv00H5UGFiOBbh7o AC2Q== X-Gm-Message-State: AOAM533kbYSV+cdZSN2iY3VR3bG266Z2yqObeQ43d5bU4IEB3h1NdT5q TxR7md8AG5A4sQxLGEwwhLg2dA== X-Received: by 2002:a17:90a:af89:: with SMTP id w9mr989921pjq.72.1604646318621; Thu, 05 Nov 2020 23:05:18 -0800 (PST) Received: from localhost ([122.172.12.172]) by smtp.gmail.com with ESMTPSA id r3sm1023098pjl.23.2020.11.05.23.05.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Nov 2020 23:05:17 -0800 (PST) From: Viresh Kumar To: 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 , Viresh Kumar Cc: linux-pm@vger.kernel.org, Vincent Guittot , digetx@gmail.com, dri-devel@lists.freedesktop.org, lima@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 0/7] opp: Allow dev_pm_opp_put_*() APIs to accept NULL opp_table Date: Fri, 6 Nov 2020 12:33:20 +0530 Message-Id: X-Mailer: git-send-email 2.25.0.rc1.19.g042ed3e048af MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org 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 Acked-by: Chanwoo Choi