diff options
author | NĂcolas F. R. A. Prado <nfraprado@collabora.com> | 2024-07-05 11:54:43 -0400 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-07-09 08:45:43 +0530 |
commit | ce87974811e015eb0e002c1b64a980d7a9d4c167 (patch) | |
tree | 5b97ec64e08844646f4a848d4873267212ea078b /drivers/gpu | |
parent | ccf51454145bffd98e31cdbe54a4262473c609e2 (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