lkml.org 
[lkml]   [2020]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe()
From
Date
> 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

\
 
 \ /
  Last update: 2020-05-20 17:35    [W:0.043 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site