/* Core registration and callback routines for MTD drivers and users.  */
static int mtd_cls_suspend(struct device *dev, pm_message_t state)
/* Core registration and callback routines for MTD drivers and users.  */
static int mtd_cls_suspend(struct device *dev, pm_message_t state)
{
	struct mtd_info *mtd = dev_to_mtd(dev);
	if (mtd && mtd->suspend)
		return mtd->suspend(mtd);
	else
		return 0;
}