> There is no need to call the dev_err() function directly to print a > custom message when handling an error from platform_get_irq_byname() > function as it is going to display an appropriate error message in case call? > of a failure. Were any static source code analysis tools involved in the detection of the presented change possibility? By the way: Such a patch can be generated also by the means of the semantic patch language (Coccinelle software) for example. Regards, Markus