]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ezx-pcap: Drop devm_free_irq of devm_ allocated irq
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 25 Sep 2013 07:37:45 +0000 (15:37 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:17 +0000 (16:21 +0100)
commite212cf591770380b338f977d23ed0234baf02410
tree1265a2316b81ff49d1e0b74179fbae0677856849
parent820051adede1ead16b5ae12f041eecbe85fadfa7
mfd: ezx-pcap: Drop devm_free_irq of devm_ allocated irq

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_wei@trendmicro.com.cn>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ezx-pcap.c