summaryrefslogtreecommitdiff
path: root/kernel/irq/devres.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-02-11 14:04:36 (GMT)
committerJiri Kosina <jkosina@suse.cz>2010-02-11 15:01:02 (GMT)
commit5c42dc7070c94622ca914b5a2e227f3744e857e7 (patch)
tree5b00ef785218d1eb3d3430f7a9d8361aa63fe52b /kernel/irq/devres.c
parentb80109e256bc17ed66c9d559175f087b03ca2a8e (diff)
downloadlinux-5c42dc7070c94622ca914b5a2e227f3744e857e7.tar.xz
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/devres.c')
-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 30d56ba..1ef4ffc 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,