]> 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)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 22 Nov 2013 22:13:07 +0000 (14:13 -0800)
commit12c3fe63df130cd6a6baa16d4cf5249fcd5344ca
treed6107ec6fc18635081e58153adb9280a442bd894
parent20d9ab5e8b53108b95f1e87f5950ada8590404f1
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