: kernel/irq/devres.c:fix kernel-doc
PATCH 1/1 : kernel/irq/devres.c:fix kernel-doc
Fix a typo, change dev_{free|request}_irq to devm_{free|request}_irq.
Signed-off-by Qinghuang Feng <[email protected]>
---
kernel/irq/devres.c +2 -2
@@ -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) {
Quoted 19 lines · 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 <[email protected]>---
kernel/irq/devres.c +1
-1@@ -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,
kernel/irq/devres.c EXPORT_SYMBOL(devm_request_irq); · line 83
Quoted 8 lines
kernel/irq/devres.c +1
-1@@ -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 <[email protected]>
Thanks.
---
~Randy