mtd: implement common reboot notifier boilerplate
authorBrian Norris <computersforpeace@gmail.com>
Wed, 26 Nov 2014 09:01:08 +0000 (01:01 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 8 Jan 2015 01:54:22 +0000 (17:54 -0800)
commit3efe41be224c4441f2a872a25471a14d85ceb7c6
tree4ad8e184902893b5cffa0159e0bf9fdb2ea753c2
parent362376a7c65936835f39ff29b082a646d522efbc
mtd: implement common reboot notifier boilerplate

cfi_cmdset_000{1,2}.c already implement their own reboot notifiers, and
we're going to add one for NAND. Let's put the boilerplate in one place.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Tested-by: Scott Branden <sbranden@broadcom.com>
drivers/mtd/mtdcore.c
include/linux/mtd/mtd.h