summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@codeaurora.org>2021-08-12 14:27:20 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-08-16 19:45:29 +0300
commit020d86fc0df8b865f6dc168d88a7c2dccabd0a9e (patch)
tree22a3cc15b9b68e5b4ee1efb02335d0df248a63df /usr
parent7c60610d476766e128cc4284bb6349732cbd6606 (diff)
downloadlinux-020d86fc0df8b865f6dc168d88a7c2dccabd0a9e.tar.xz
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 <rnayak@codeaurora.org> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions