summaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-02-11 15:04:36 +0100
committerJiri Kosina <jkosina@suse.cz>2010-02-11 16:01:02 +0100
commit5c42dc7070c94622ca914b5a2e227f3744e857e7 (patch)
tree5b00ef785218d1eb3d3430f7a9d8361aa63fe52b /kernel/irq
parentb80109e256bc17ed66c9d559175f087b03ca2a8e (diff)
devres/irq: Fix devm_irq_match comment
Fix the reference (in comment). Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/irq')
-rw-r--r--kernel/irq/devres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/devres.c b/kernel/irq/devres.c
index 30d56bafc9c..1ef4ffcdfa5 100644
--- a/kernel/irq/devres.c
+++ b/kernel/irq/devres.c
@@ -42,7 +42,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_threaded_irq(struct device *dev, unsigned int irq,
irq_handler_t handler, irq_handler_t thread_fn,