opp: Correct debug message in _opp_add_static_v2()
authorDmitry Osipenko <digetx@gmail.com>
Mon, 18 Jan 2021 00:55:15 +0000 (03:55 +0300)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 2 Feb 2021 04:56:56 +0000 (10:26 +0530)
commitd7b9d9b31a3e55dcc9b5c289abfafe31efa5b5c4
tree77ca00b74606400d600116b3140c96585732eeed
parentcf65948d62c6aefd22f51c1433743f80517ee3fe
opp: Correct debug message in _opp_add_static_v2()

The debug message always prints rate=0 instead of a proper value, fix it.

Fixes: 6c591eec67cb ("OPP: Add helpers for reading the binding properties")
Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
[ Viresh: Added Fixes tag ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/of.c