Re: [PATCH 1/2] drivers: provide devm_platform_request_irq()

From: Markus Elfring
Date: Mon May 18 2020 - 15:24:08 EST


> It will call devm_request_irq() after platform_get_irq() function
> in many drivers, sometimes, it is not right of the error handling
> for these two functions in some drivers. so provide this function
> to simplify the driver.

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

The function âdevm_request_irqâ is called after the
function âplatform_get_irqâ in many drivers.
The exception handling is incomplete there sometimes.
Thus add a corresponding wrapper function for the simplification
of the drivers.


Will a companion script for the semantic patch language (Coccinelle software)
become helpful for further support of collateral evolution?

Regards,
Markus