[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5dad9b19-ceb5-1606-9f62-7626e5677971@web.de>
Date: Wed, 27 May 2020 20:45:09 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Dejin Zheng <zhengdejin5@...il.com>,
kernel-janitors@...r.kernel.org, linux-doc@...r.kernel.org,
linux-i2c@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Coccinelle <cocci@...teme.lip6.fr>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Grygorii Strashko <grygorii.strashko@...com>,
Jonathan Corbet <corbet@....net>,
Michal Simek <michal.simek@...inx.com>,
Linus Walleij <linus.walleij@...aro.org>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Wolfram Sang <wsa@...-dreams.de>
Subject: Re: [PATCH v3 1/2] drivers: provide devm_platform_request_irq()
> It will call devm_request_irq() after platform_get_irq() function
> in many drivers, sometimes, it is not right for the error handling
> of these two functions in some drivers. so provide this function
> to simplify the driver.
I recommend 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
Powered by blists - more mailing lists