Messages in this thread | | | Subject | Re: [PATCH v2] i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe() | From | Markus Elfring <> | Date | Wed, 20 May 2020 17:34:23 +0200 |
| |
> 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
| |