From: Eric Bénard Date: Thu, 17 Jun 2010 18:59:04 +0000 (+0200) Subject: mtd: mxc_nand: dont call suspend and resume explicitly X-Git-Tag: v2.6.36-rc1~301^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04dd0d3a9a33fdd8c3516db0fa85d9dba5610fc2;p=pandora-kernel.git mtd: mxc_nand: dont call suspend and resume explicitly The mtd layer is responsible to call mtd->{suspend,resume}. Doing it again in the driver is wrong and results in a warning: nand_resume called for a chip which is not in suspended state at resume time. Removing the calls from the resume and suspend functions makes them empty allowing them to be deleted completely. Signed-off-by: Eric Bénard Acked-by: Uwe Kleine-König Signed-off-by: David Woodhouse --- Reading git-diff-tree failed