mtd: gpmi: use devm_request_irq
authorHuang Shijie <b32955@freescale.com>
Thu, 14 Nov 2013 06:25:49 +0000 (14:25 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:19 +0000 (11:22 -0800)
commit3cb2c1ed4abe19d2881f74aa60c1a5b44524b2d0
treed369658e8ee80048062172ed695d44e21b72a161
parent87a9d69892836fc9cf738fa8960a0c29cf8e3f16
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