]> git.ipfire.org Git - thirdparty/kernel/stable.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)
commit0d4ba693db4884a54e0149ed7768d31256cd7dbb
treea10e45f0dde0399264c01ed953f91d208c45e626
parentbaf56a1d8199d7a86ecd43236fa2023335701773
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