]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: gpmi: use devm_request_irq
authorHuang Shijie <b32955@freescale.com>
Thu, 14 Nov 2013 06:25:49 +0000 (14:25 +0800)
committerHuang Shijie <b32955@freescale.com>
Tue, 19 Nov 2013 02:01:32 +0000 (10:01 +0800)
commit5d48ab55e83085de2cf46592b4f2134d9cf81721
treef13cb889a5373624bb98a9c8eaf44f35af27cc30
parent43ebac581d12eb57ba5bf0061ba1f98b149399d7
mtd: gpmi: use devm_request_irq

Use devm_request_irq to simplify the code.
Also remove the unused fields of structure resources{}.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/gpmi-nand/gpmi-nand.h