Message ID | 1619792901-32701-2-git-send-email-sibis@codeaurora.org |
---|---|
State | Superseded |
Headers | show |
Series | DDR/L3 Scaling support on SC7280 SoCs | expand |
On Fri, Apr 30, 2021 at 07:58:20PM +0530, Sibi Sankar wrote: > Subject: cpufreq: blacklist SC7280 in cpufreq-dt-platdev > > Add SC7280 to cpufreq-dt-platdev blacklist since the actual scaling is > handled by the 'qcom-cpufreq-hw' driver. The coding style recommends the use of "allowlist" or "passlist" of "blacklist": https://elixir.bootlin.com/linux/v5.12/source/Documentation/process/coding-style.rst#L338 It's existing code so you aren't necessarily expected to change it. But you could still use the recommended terminology in the commit message.
diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c index 5e07065ec22f..345418b8250e 100644 --- a/drivers/cpufreq/cpufreq-dt-platdev.c +++ b/drivers/cpufreq/cpufreq-dt-platdev.c @@ -137,6 +137,7 @@ static const struct of_device_id blacklist[] __initconst = { { .compatible = "qcom,msm8996", }, { .compatible = "qcom,qcs404", }, { .compatible = "qcom,sc7180", }, + { .compatible = "qcom,sc7280", }, { .compatible = "qcom,sdm845", }, { .compatible = "st,stih407", },
Add SC7280 to cpufreq-dt-platdev blacklist since the actual scaling is handled by the 'qcom-cpufreq-hw' driver. Signed-off-by: Sibi Sankar <sibis@codeaurora.org> --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+)