mtd: spi-nor: Add spi-nor mtd resume handler
authorKamal Dasu <kdasu.kdev@gmail.com>
Tue, 22 Aug 2017 20:45:22 +0000 (16:45 -0400)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 10 Oct 2017 16:20:22 +0000 (18:20 +0200)
commitd6084fc83c8249779a6b7a1d48830f1f3fc120fe
tree95fb3f0aa26055a40fc983551fce269c76016523
parent46dde01f6bab35d99af111fcc02ca3ee1146050f
mtd: spi-nor: Add spi-nor mtd resume handler

Implemented and populated spi-nor mtd PM handlers for resume ops.
spi-nor resume op re-initializes spi-nor flash to its probed
state by calling the newly implemented spi_nor_init() function.

Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/spi-nor.c