]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: mpc5121_nfc: drop devm_free_irq of devm_ allocated irq
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 25 Sep 2013 07:40:38 +0000 (15:40 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 27 Nov 2013 00:17:00 +0000 (16:17 -0800)
commit5dc52ccbded13c329045bba90b3fdb5df638e207
tree6e2fef1cc5845a4c0d1e6262f1e9a489b4ce2324
parente59029a62a2fd7a88983d7dc73e192b43c461da1
mtd: mpc5121_nfc: 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: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mpc5121_nfc.c