scmi-cpufreq: Remove deferred probe
authorNicola Mazzucato <nicola.mazzucato@arm.com>
Thu, 18 Feb 2021 22:23:24 +0000 (22:23 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 15 Mar 2021 13:24:45 +0000 (13:24 +0000)
commit71a37cd6a59dc58df3f4e58db3f4f04c9e69da43
tree34280cf704c2cf5eeae41549e5200d743da8b70e
parenta38fd8748464831584a19438cbb3082b5a2dab15
scmi-cpufreq: Remove deferred probe

The current implementation of the scmi_cpufreq_init() function returns
-EPROBE_DEFER when the OPP table is not populated. In practice the
cpufreq core cannot handle this error code.
Therefore, fix the return value and clarify the error message.

Link: https://lore.kernel.org/r/20210218222326.15788-2-nicola.mazzucato@arm.com
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Nicola Mazzucato <nicola.mazzucato@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/cpufreq/scmi-cpufreq.c