diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-07-09 11:37:40 +0700 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-10 13:09:41 +0100 |
| commit | 92aa9c7b1d9d318709b3cd769b894844cc6e9a9d (patch) | |
| tree | ea8d75773312b1c46d6839a6de9a91ecef32ac91 /tools/perf/scripts/python | |
| parent | 512f61464691dbb92c2b0ff9cd64240030d7abbe (diff) | |
ASoC: xtensa: Use dev_err_probe() and drop redundant error handling
Convert error paths with messages to dev_err_probe(), which combines
dev_err() and the return statement while also handling -EPROBE_DEFER
for the clock path.
Remove the redundant "err:" label and return errors directly. Paths such
as platform_get_irq() already log failures in the callee, so they simply
return the error code without printing an additional message. Inline the
pm_runtime_disable() cleanup at its only call site.
No functional change.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://patch.msgid.link/20260709043740.329504-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
