Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1062536pxb; Thu, 5 Nov 2020 23:07:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4v5vQVThqxGmoerUB4aVnD6ufEAVj9oVFCubKk8qKinnICejzqhzosL5g3BQEzBMC2Dx3 X-Received: by 2002:a17:906:4705:: with SMTP id y5mr693830ejq.112.1604646419799; Thu, 05 Nov 2020 23:06:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604646419; cv=none; d=google.com; s=arc-20160816; b=SdbVK/b5G6mPatJaLbJWIAXUyh1XMrjvb9ELOiDkqxic6mp+xK4Nf0li+lDMXapsRy zMPTBJR4UwYPPrdCMjknbM3YS68ecqjt17UblXYoEJ5FxhHmUIOCfZW1WHRJk+1L76vf 7Z0BihKAnvDk6TyLyxePPjMym7BhsSGRADcX9XwjDYq7dHgI5Z4u793wp6D28yD1t0AA X9AgRmUPeCMinbsS/57qXTXBa81h0SxGEHfa91AqBT5IS2pbZ/+4ATfNoQx/HdNTweNW iUK2q3SUVfDGo/suLup9XxrhnwSOrhXmJMZs0xgeX9z57MO/EswRiAy8MoAcdfzp/uFi Z0AA== 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=k+Nz5jRA4/udlJxFKHurOa8feriNjEvrKixZKANRkjhXF7SCdaDQZjXVz24xhI3/b4 TuYqB2d2LNhc+mVlk5kLwcldc3tL0+lGJSLOgfwVFxd+MP+URk0v1Bgz22/XenxxTgnr jRAEv289m75yLukX20VZk4239qCHcXf9O3WJwAjMDD3g470na7eB9eZ3YL3shGj/CPL0 Sjbt5pKx+StevAu/UA4boakijYwg+2ni84j5Y2NFsopvrDCnQjnR7Khp5BtosZzry8BV fX8wAYCAO85i0rE/gzHBn/Tvzbfb3Bm0Z0uPy/cBGHH2oqHBnyStOzu3K0n5xR/ZJSoa aKrA== 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-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 mm8si214609ejb.724.2020.11.05.23.06.37; Thu, 05 Nov 2020 23:06:59 -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=x7tyrPda; 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 S1726337AbgKFHFT (ORCPT + 99 others); Fri, 6 Nov 2020 02:05:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbgKFHFT (ORCPT ); Fri, 6 Nov 2020 02:05:19 -0500 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36BBAC0613D3 for ; Thu, 5 Nov 2020 23:05:19 -0800 (PST) Received: by mail-pg1-x541.google.com with SMTP id h6so238753pgk.4 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=GcB57/FL4tndkLHoSzyCIUnwBEybCRFNjkv9MsHGN3VSEB2xdqUlt/I684zscLBrcD A+0O2zzA0dE8CtaePYFiwjPtNgXVOyv1FYGpO/q1wfssQZXmN+EmHkRpoUuMLe0JT2fz MiCTY80uTgCjHuDSruyrZG0Br7xcyZe2HKpHHkaLNbKFgHQC1Uz6WmOhpt7Tz5sDvWRO 9X62gtSeCZ9lNKpyK42aZy4y/El77Kc7Y8lrP1BX6yRX0tieGHRLTE58IoyeMLAg8Zrg 07Rmaqep8XRFkOep3FmkuGlEukv4dc11SJ2UbvRbKPLFMXJkGosDrbVFKcDthyJsTTII woJg== X-Gm-Message-State: AOAM531E0FU/wMxR3v+wjbaa/icaLJaJ4C+SA96gbQ0oyL5OQZnjJHTe 4TW9VtKKCdOmDcbfRLFETDVEmg== 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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