mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@xenotime.net>
To: Qinghuang Feng <qhfeng.kernel@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] : kernel/irq/devres.c:fix kernel-doc
Date: Sun, 15 Feb 2009 12:45:25 -0800	[thread overview]
Message-ID: <20090215124525.db0a1f65.rdunlap@xenotime.net> (raw)
In-Reply-To: <499160b0.0e1b6e0a.4589.6461@mx.google.com>

On Tue, 10 Feb 2009 19:10:37 +0800 Qinghuang Feng wrote:

> Fix a typo, change dev_{free|request}_irq to devm_{free|request}_irq.
> 
> Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
> ---
> diff --git a/kernel/irq/devres.c b/kernel/irq/devres.c
> index 38a25b8..30b17de 100644
> --- a/kernel/irq/devres.c
> +++ b/kernel/irq/devres.c
> @@ -40,7 +40,7 @@ static int devm_irq_match(struct device *dev, void *res, void *data)
>   *	automatically freed on driver detach.
>   *
>   *	If an IRQ allocated with this function needs to be freed
> - *	separately, dev_free_irq() must be used.
> + *	separately, devm_free_irq() must be used.
>   */
>  int devm_request_irq(struct device *dev, unsigned int irq,
>  		     irq_handler_t handler, unsigned long irqflags,
> @@ -77,7 +77,7 @@ EXPORT_SYMBOL(devm_request_irq);
>   *	Except for the extra @dev argument, this function takes the
>   *	same arguments and performs the same function as free_irq().
>   *	This function instead of free_irq() should be used to manually
> - *	free IRQs allocated with dev_request_irq().
> + *	free IRQs allocated with devm_request_irq().
>   */
>  void devm_free_irq(struct device *dev, unsigned int irq, void *dev_id)
>  {
> 

Acked-by: Randy Dunlap <rdunlap@xenotime.net>

Thanks.

---
~Randy

      reply	other threads:[~2009-02-15 20:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10 11:10 Qinghuang Feng
2009-02-15 20:45 ` Randy Dunlap [this message]

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=20090215124525.db0a1f65.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qhfeng.kernel@gmail.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

all inboxes | Powered by JetHome®