Re: [PATCH] mfd: ezx-pcap: drop devm_free_irq of devm_ allocated irq

2013-09-25 Thread Lee Jones
On Wed, 25 Sep 2013, Wei Yongjun wrote: > From: Wei Yongjun > > The devm_request_irq function allocates irq that is released > when a driver detaches. Thus, there is no reason to explicitly > call devm_free_irq in probe or remove functions. > > Signed-off-by: Wei Yongjun > --- >

[PATCH] mfd: ezx-pcap: drop devm_free_irq of devm_ allocated irq

2013-09-25 Thread Wei Yongjun
From: Wei Yongjun The devm_request_irq function allocates irq that is released when a driver detaches. Thus, there is no reason to explicitly call devm_free_irq in probe or remove functions. Signed-off-by: Wei Yongjun --- drivers/mfd/ezx-pcap.c | 7 +-- 1 file changed, 1 insertion(+), 6

[PATCH] mfd: ezx-pcap: drop devm_free_irq of devm_ allocated irq

2013-09-25 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn The devm_request_irq function allocates irq that is released when a driver detaches. Thus, there is no reason to explicitly call devm_free_irq in probe or remove functions. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH] mfd: ezx-pcap: drop devm_free_irq of devm_ allocated irq

2013-09-25 Thread Lee Jones
On Wed, 25 Sep 2013, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn The devm_request_irq function allocates irq that is released when a driver detaches. Thus, there is no reason to explicitly call devm_free_irq in probe or remove functions. Signed-off-by: Wei Yongjun