mtd: pxa3xx_nand: don't duplicate MTD suspend/resume
authorBrian Norris <computersforpeace@gmail.com>
Mon, 12 Oct 2015 20:33:11 +0000 (13:33 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 19 Oct 2015 16:50:47 +0000 (09:50 -0700)
commit2e17497ccfdf0da39595eb98434fdbac93ad3f9b
tree3bf4ed164bf533f0bceead9058ea0aecbd23069e
parent01a3c625766328200de1656915007537739847aa
mtd: pxa3xx_nand: don't duplicate MTD suspend/resume

mtd_{suspend,resume}() get called from mtdcore in a class suspend/resume
callback. We don't need to call them again here. In practice, this would
actually work OK, as nand_base actually handles nesting OK -- it just
might print warnings.

Untested, but there are few (no?) users of PM for this driver AFAIK.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
drivers/mtd/nand/pxa3xx_nand.c