PM / OPP: OF: Use pr_debug() instead of pr_err() while adding OPP table
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 12 Jul 2017 03:51:49 +0000 (09:21 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 16 Jul 2017 00:24:33 +0000 (02:24 +0200)
commit5b60697cd89cf5a438b2984e11859228e5ec1c6b
treedf85a540a8422b23bb73ed6a821233ddb0567bfb
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
PM / OPP: OF: Use pr_debug() instead of pr_err() while adding OPP table

Some platforms add the OPPs dynamically from platform specific drivers
instead of getting them statically from DT. The cpufreq-dt driver
already ignores the return value of dev_pm_opp_of_cpumask_add_table() to
not error out for such cases, but we still end up printing error message
from that routine. That's not nice.

Convert the print message to use pr_debug() instead.

Reported-by: Mason <slash.tmp@free.fr>
Signed-off-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