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>
Loading
Please sign in to comment