i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe()
Quoted 2 lines
The driver initialization should be end immediately after found the
platform_get_irq()function return an error.
I suggest 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.
Would you like to add the tag “Fixes” to the commit message?
Regards,
Markus