]> git.baikalelectronics.ru Git - kernel.git/commit
opp: remove WARN when no valid OPPs remain
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Mon, 26 Jul 2021 08:30:56 +0000 (10:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Sep 2021 08:08:14 +0000 (10:08 +0200)
commit097ca720ebc0556d594ae0117a9962afcfb542de
treea10e45f0dde0399264c01ed953f91d208c45e626
parent1668baa26a7b76d8b1081a52da621d2f61c15db8
opp: remove WARN when no valid OPPs remain

[ Upstream commit 335ffab3ef864539e814b9a2903b0ae420c1c067 ]

This WARN can be triggered per-core and the stack trace is not useful.
Replace it with plain dev_err(). Fix a comment while at it.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/opp/of.c