From: Jean Delvare <khali@linux-fr.org>
To: Jiri Kosina <trivial@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
Arjan van de Ven <arjan@linux.intel.com>
Subject: devres/irq: Fix cross-referencing comments
Date: Thu, 11 Feb 2010 15:04:36 +0100 [thread overview]
Message-ID: <20100211150436.1f86e060@hyperion.delvare> (raw)
Fix the reference (in comment) from devm_request_irq to devm_free_irq
and back.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
kernel/irq/devres.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.33-rc7.orig/kernel/irq/devres.c 2009-06-10 05:05:27.000000000 +0200
+++ linux-2.6.33-rc7/kernel/irq/devres.c 2010-02-11 14:53:35.000000000 +0100
@@ -42,7 +42,7 @@ static int devm_irq_match(struct device
* 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_threaded_irq(struct device *dev, unsigned int irq,
irq_handler_t handler, irq_handler_t thread_fn,
@@ -81,7 +81,7 @@ EXPORT_SYMBOL(devm_request_threaded_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)
{
--
Jean Delvare
next reply other threads:[~2010-02-11 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 14:04 Jean Delvare [this message]
2010-02-11 14:55 ` devres/irq: Fix cross-referencing comments Jiri Kosina
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=20100211150436.1f86e060@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=arjan@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/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