commit | 57b8045d13569b7d8a1861bd61b7b664e417f7bc | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Apr 06 12:00:39 2015 +0200 |
committer | Brian Norris <computersforpeace@gmail.com> | Thu May 07 00:18:22 2015 -0700 |
tree | 4b074b7e9418d79e432b79b88db8a939467048a5 | |
parent | b94665322b786a806a0169752ff2f35f3f467b99 [diff] |
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 <lars@metafoo.de> Signed-off-by: Brian Norris <computersforpeace@gmail.com>