PM / OPP: fix debug/error messages in dev_pm_opp_of_get_sharing_cpus()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 20 Oct 2016 07:12:49 +0000 (16:12 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Oct 2016 13:37:30 +0000 (15:37 +0200)
commit349aa92e81bd14552d8d2335aff490f306038603
tree19661a098c904d7e41a67e4a1f458601ed1b41c8
parent4bee77dc734ccd4119bb750479809ebc82776bef
PM / OPP: fix debug/error messages in dev_pm_opp_of_get_sharing_cpus()

These log messages are wrong because _of_get_opp_desc_node() returns
an operating-points-v2 node.

Commit a6eed752f5fb ("PM / OPP: passing NULL to PTR_ERR()") fixed
static checker warnings, and reworded the messages at the same time
(but the latter was not mentioned in the git-log).

Restore the correct messages.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/of.c