aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/mxc_nand.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2009-04-05 10:49:48 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-05-26 11:45:44 -0400
commitccd93854d44710adaa02cecf0ef5f24ab383dd20 (patch)
tree4e1f3d835631cec271f6ea7ec19c45b2f5a98925 /drivers/mtd/nand/mxc_nand.c
parent15bce40cb3133bcc07d548013df97e4653d363c1 (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/mxc_nand.c')
-rw-r--r--drivers/mtd/nand/mxc_nand.c5
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)
1015 int ret = 0; 1015 int ret = 0;
1016 1016
1017 DEBUG(MTD_DEBUG_LEVEL0, "MXC_ND : NAND suspend\n"); 1017 DEBUG(MTD_DEBUG_LEVEL0, "MXC_ND : NAND suspend\n");
1018 if (info)
1019 ret = info->suspend(info);
1020 1018
1021 /* Disable the NFC clock */ 1019 /* Disable the NFC clock */
1022 clk_disable(nfc_clk); /* FIXME */ 1020 clk_disable(nfc_clk); /* FIXME */
@@ -1033,9 +1031,6 @@ static int mxcnd_resume(struct platform_device *pdev)
1033 /* Enable the NFC clock */ 1031 /* Enable the NFC clock */
1034 clk_enable(nfc_clk); /* FIXME */ 1032 clk_enable(nfc_clk); /* FIXME */
1035 1033
1036 if (info)
1037 info->resume(info);
1038
1039 return ret; 1034 return ret;
1040} 1035}
1041 1036