aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2024-07-05 11:54:43 -0400
committerViresh Kumar <viresh.kumar@linaro.org>2024-07-09 08:45:43 +0530
commitce87974811e015eb0e002c1b64a980d7a9d4c167 (patch)
tree5b97ec64e08844646f4a848d4873267212ea078b /drivers/gpu
parentccf51454145bffd98e31cdbe54a4262473c609e2 (diff)
cpufreq: mediatek: Use dev_err_probe in every error path in probe
Use the dev_err_probe() helper to log the errors on every error path in the probe function and its sub-functions. This includes * adding error messages where there was none * converting over dev_err/dev_warn * removing the top-level error message after mtk_cpu_dvfs_info_init() is called, since every error path inside that function already logs the error reason. This gets rid of the misleading error message when probe is deferred: mtk-cpufreq mtk-cpufreq: failed to initialize dvfs info for cpu0 Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions