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)
committerViresh Kumar <viresh.kumar@linaro.org>
Wed, 4 Aug 2021 04:01:25 +0000 (09:31 +0530)
commit335ffab3ef864539e814b9a2903b0ae420c1c067
treeb0aa742951cf2b01575852476ccd43971f7b9c65
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
opp: remove WARN when no valid OPPs remain

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>
drivers/opp/of.c