aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorRajendra Nayak <[email protected]>2021-08-12 11:27:20 +0000
committerRafael J. Wysocki <[email protected]>2021-08-16 16:45:29 +0000
commit020d86fc0df8b865f6dc168d88a7c2dccabd0a9e (patch)
tree22a3cc15b9b68e5b4ee1efb02335d0df248a63df /scripts/clang-tools/gen_compile_commands.py
parentLinux 5.14-rc6 (diff)
downloadkernel-020d86fc0df8b865f6dc168d88a7c2dccabd0a9e.tar.gz
kernel-020d86fc0df8b865f6dc168d88a7c2dccabd0a9e.zip
opp: Don't print an error if required-opps is missing
The 'required-opps' property is considered optional, hence remove the pr_err() in of_parse_required_opp() when we find the property is missing. While at it, also fix the return value of of_get_required_opp_performance_state() when of_parse_required_opp() fails, return a -ENODEV instead of the -EINVAL. Signed-off-by: Rajendra Nayak <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions