diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-05 07:49:48 -0700 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-05-26 16:45:44 +0100 |
commit | ccd93854d44710adaa02cecf0ef5f24ab383dd20 (patch) | |
tree | 4e1f3d835631cec271f6ea7ec19c45b2f5a98925 /drivers/mtd/nand | |
parent | 15bce40cb3133bcc07d548013df97e4653d363c1 (diff) |
[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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/mxc_nand.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index f3548d048014..65040de54bb7 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -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; } |