summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/cpufreq
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-04-24 14:40:11 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-04-25 08:08:06 +0300
commit76a6fc5644b2a1c70868bec24a078f784600ef2a (patch)
tree158042e242241297d6f66aa405f9e84f2b76ca7d /Documentation/devicetree/bindings/cpufreq
parentfa7bd98f3c8b33fb68c6b2bc69cff32b63db69f8 (diff)
downloadlinux-76a6fc5644b2a1c70868bec24a078f784600ef2a.tar.xz
cpufreq: sun50i: fix error returns in dt_has_supported_hw()
The dt_has_supported_hw() function returns type bool. That means these negative error codes are cast to true but the function should return false instead. Fixes: fa5aec9561cf ("cpufreq: sun50i: Add support for opp_supported_hw") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/cpufreq')
0 files changed, 0 insertions, 0 deletions