Re: [PATCH v2] i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe()

From: Markus Elfring
Date: Wed May 20 2020 - 11:34:39 EST


> The driver initialization should be end immediately after found
> the platform_get_irq() function return an error.

I recommend to improve also this change description.
How do you think about a wording variant like the following?

Return an error code after a call of the function âplatform_get_irqâ failed.


Regards,
Markus