mfd: twl6040: Drop devm_free_irq of devm_ allocated irq
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 25 Sep 2013 07:37:15 +0000 (15:37 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:21:19 +0000 (16:21 +0100)
commitfc5ee96fefae8d38602c79a16205d4b1c8e01da5
tree80a3dff18c930783355bcd33dceea7263ca3e83d
parent89720264a1f0870e45f583583357ee986e216157
mfd: twl6040: 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/twl6040.c