[MTD] physmap: Fix suspend/resume/shutdown bugs.
authorRobert Jarzmik <rjarzmik@free.fr>
Tue, 22 Jul 2008 07:39:00 +0000 (09:39 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 25 Jul 2008 13:53:03 +0000 (09:53 -0400)
commit7b2491911540e4904498622fbee2e1a9e3120d2f
tree30d3b76c3073e37a7034a71cc18ec8ff5ad73ba2
parent998453fbf2e0709bf65ac419718ad284401b2b4f
[MTD] physmap: Fix suspend/resume/shutdown bugs.

Don't call suspend/resume functions if they have not been
defined.

Signed-off-by: Robert Jarzmik <rjarzmik@free.fr>
Acked-By: Jörn Engel <joern@logfs.org>
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap.c