diff options
author | Benoît Monin <benoit.monin@bootlin.com> | 2025-09-04 16:31:06 +0200 |
---|---|---|
committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-09-25 23:49:08 +0200 |
commit | 437e6c3e3175e40c07987be87eea1cf9d7b8f30f (patch) | |
tree | 8d99508fb7f0bff35121f4f85a34ee2419f90072 /rust/helpers/platform.c | |
parent | 0de61943244dec418d396633a587adca1c350b55 (diff) |
i2c: designware: convert to dev_err_probe() on request IRQ error
Simplify the error handling of devm_request_irq() in
i2c_dw_probe_master() and i2c_dw_probe_slave() by converting to:
return dev_err_probe();
instead of calling:
dev_err();
return ret;
This also handle deferred probe error without spamming the log.
Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions