linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Dejin Zheng <zhengdejin5@gmail.com>,
	linux-i2c@vger.kernel.org, kernel-janitors@vger.kernel.org
Cc: "Ard Biesheuvel" <ardb@kernel.org>,
	"Barry Song" <baohua@kernel.org>,
	"Baruch Siach" <baruch@tkos.co.il>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Heiko Stübner" <heiko@sntech.de>,
	"Kevin Hilman" <khilman@baylibre.com>,
	"Linus Walleij" <linus.walleij@linaro.org>,
	"Michal Simek" <michal.simek@xilinx.com>,
	"Paul Cercueil" <paul@crapouillou.net>,
	"Radu Pirea" <radu_nicolae.pirea@upb.ro>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	"Ray Jui" <rjui@broadcom.com>,
	"Sascha Hauer" <s.hauer@pengutronix.de>,
	"Scott Branden" <sbranden@broadcom.com>,
	"Shawn Guo" <shawnguo@kernel.org>,
	"Sylvain Lemieux" <slemieux.tyco@gmail.com>,
	"Vladimir Zapolskiy" <vz@mleia.com>,
	"Wolfram Sang" <wsa+renesas@sang-engineering.com>,
	"Zhou Yanjie" <zhouyanjie@wanyeetech.com>,
	linux-kernel@vger.kernel.org, linux-imx@nxp.com
Subject: Re: [PATCH 1/2] drivers: provide devm_platform_request_irq()
Date: Mon, 18 May 2020 21:23:31 +0200	[thread overview]
Message-ID: <e679788a-d616-a45d-f12d-20485aad2f43@web.de> (raw)

> 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

                 reply	other threads:[~2020-05-18 19:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e679788a-d616-a45d-f12d-20485aad2f43@web.de \
    --to=markus.elfring@web.de \
    --cc=ardb@kernel.org \
    --cc=baohua@kernel.org \
    --cc=baruch@tkos.co.il \
    --cc=f.fainelli@gmail.com \
    --cc=festevam@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=heiko@sntech.de \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=khilman@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=paul@crapouillou.net \
    --cc=radu_nicolae.pirea@upb.ro \
    --cc=rafael@kernel.org \
    --cc=rjui@broadcom.com \
    --cc=s.hauer@pengutronix.de \
    --cc=sbranden@broadcom.com \
    --cc=shawnguo@kernel.org \
    --cc=slemieux.tyco@gmail.com \
    --cc=vz@mleia.com \
    --cc=wsa+renesas@sang-engineering.com \
    --cc=zhengdejin5@gmail.com \
    --cc=zhouyanjie@wanyeetech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).