devres/irq: Fix devm_irq_match comment
authorJean Delvare <khali@linux-fr.org>
Thu, 11 Feb 2010 14:04:36 +0000 (15:04 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 11 Feb 2010 15:01:02 +0000 (16:01 +0100)
Fix the reference (in comment).

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
kernel/irq/devres.c

index 30d56bafc9c2060c6ca3fa1947d58aae455ac4d2..1ef4ffcdfa55b40ef17b0ff4aef0c6533b226308 100644 (file)
@@ -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,