[<prev] [next>] [day] [month] [year] [list]
Message-ID: <e679788a-d616-a45d-f12d-20485aad2f43@web.de>
Date: Mon, 18 May 2020 21:23:31 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Dejin Zheng <zhengdejin5@...il.com>, linux-i2c@...r.kernel.org,
kernel-janitors@...r.kernel.org
Cc: Ard Biesheuvel <ardb@...nel.org>, Barry Song <baohua@...nel.org>,
Baruch Siach <baruch@...s.co.il>,
Fabio Estevam <festevam@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Heiko Stübner <heiko@...ech.de>,
Kevin Hilman <khilman@...libre.com>,
Linus Walleij <linus.walleij@...aro.org>,
Michal Simek <michal.simek@...inx.com>,
Paul Cercueil <paul@...pouillou.net>,
Radu Pirea <radu_nicolae.pirea@....ro>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Ray Jui <rjui@...adcom.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Scott Branden <sbranden@...adcom.com>,
Shawn Guo <shawnguo@...nel.org>,
Sylvain Lemieux <slemieux.tyco@...il.com>,
Vladimir Zapolskiy <vz@...ia.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Zhou Yanjie <zhouyanjie@...yeetech.com>,
linux-kernel@...r.kernel.org, linux-imx@....com
Subject: Re: [PATCH 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 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
Powered by blists - more mailing lists