diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-05-06 22:09:48 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-05-20 06:58:32 +0300 |
commit | b791c7f94680ba9b60b0c0786b1d0eb4393053d6 (patch) | |
tree | cd1366b182889bdda4678c2e74b62a9316cd34ee /drivers/cpufreq/cpufreq-dt-platdev.c | |
parent | 70d99a8f0442bbc5abfa34ea27ce1fcacff57f90 (diff) | |
download | linux-b791c7f94680ba9b60b0c0786b1d0eb4393053d6.tar.xz |
cpufreq: scmi: Fix an error message
'ret' is known to be 0 here.
The last error code is stored in 'nr_opp', so use it in the error message.
Fixes: 71a37cd6a59d ("scmi-cpufreq: Remove deferred probe")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt-platdev.c')
0 files changed, 0 insertions, 0 deletions