i2c: busses: drop redundant dev_err_probe() around irq helpers

platform_get_irq(), devm_request_irq() and devm_request_threaded_irq()
already print an error message via dev_err_probe() on failure, so
wrapping their return value with another dev_err_probe() results in
duplicate error output.

Drop these redundant dev_err_probe() calls across i2c bus drivers
and return the error code directly instead.

Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/aea09858af6be39497325e2560267771ed62e6b0.1784537126.git.xiaopei01@kylinos.cn
This commit is contained in:
Pei Xiao 2026-07-20 16:53:26 +08:00 • committed by Andi Shyti
commit d1f112e2fa
No known key found for this signature in database
GPG key ID: DA78056626D32D6E
25 changed files with 29 additions and 43 deletions