From: Lars-Peter Clausen Date: Mon, 6 Apr 2015 10:00:39 +0000 (+0200) Subject: mtd: Switch to PM ops X-Git-Tag: omap-for-v4.2/fixes-rc1^2~143^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b8045d13569b7d8a1861bd61b7b664e417f7bc;p=pandora-kernel.git mtd: Switch to PM ops Use dev_pm_ops instead of the legacy suspend/resume callbacks for the MTD class suspend and resume operations. While we are at it slightly reorder things to avoid the need for forward declarations. Signed-off-by: Lars-Peter Clausen Signed-off-by: Brian Norris --- Reading git-diff-tree failed