[MTD] Remove mtd->{suspend,resume} calls from board drivers

Now the MTD core will do this for us, we don't need to hook it up from
the board drivers.

Shame we can't do shutdown from the class too...

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
David Woodhouse
2009-04-05 07:49:48 -07:00
parent 15bce40cb3
commit ccd93854d4
5 changed files with 0 additions and 113 deletions

View File

@@ -1015,8 +1015,6 @@ static int mxcnd_suspend(struct platform_device *pdev, pm_message_t state)
int ret = 0;
DEBUG(MTD_DEBUG_LEVEL0, "MXC_ND : NAND suspend\n");
if (info)
ret = info->suspend(info);
/* Disable the NFC clock */
clk_disable(nfc_clk); /* FIXME */
@@ -1033,9 +1031,6 @@ static int mxcnd_resume(struct platform_device *pdev)
/* Enable the NFC clock */
clk_enable(nfc_clk); /* FIXME */
if (info)
info->resume(info);
return ret;
}