[PATCH] mtd: mpc5121_nfc: drop devm_free_irq of devm_ allocated irq

Brian Norris computersforpeace at gmail.com
Tue Nov 26 18:27:20 EST 2013


On Wed, Sep 25, 2013 at 03:40:38PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei at 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_wei at trendmicro.com.cn>

Pushed to l2-mtd.git. Thanks!

Brian



More information about the linux-mtd mailing list