ASoC: rockchip: Simplify probe error handling

bui duc phuc <phucduc.bui@gmail.com> says:

This series simplifies probe error handling across Rockchip ASoC drivers.

It replaces open-coded error handling with dev_err_probe() where
appropriate, removes redundant probe error messages, returns the
original error code directly, and fixes handling of -EPROBE_DEFER
returned by platform_get_irq_optional() in the Rockchip SAI driver
and devm_pinctrl_get() in the Rockchip I2S driver.

Compile tested only.

Link: https://patch.msgid.link/20260806052136.21034-1-phucduc.bui@gmail.com
This commit is contained in:
Mark Brown 2026-08-13 15:46:10 +01:00
commit 87331e2aa4
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
8 changed files with 34 additions and 64 deletions