Skip to content
Commit afc62baf authored by Wei Yongjun's avatar Wei Yongjun Committed by Brian Norris
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent c2325962
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment