commit | ec60dd37e1d907d0524fa4c5806ecf24b16ea712 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Sep 09 17:54:12 2013 +0900 |
committer | Mark Brown <broonie@linaro.org> | Tue Sep 17 00:13:57 2013 +0100 |
tree | b15ff3f9fe7e60f6706ecc5d4a860812ed629614 | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f [diff] |
spi: atmel: convert from legacy pm ops to dev_pm_ops Instead of using legacy suspend/resume methods, using newer dev_pm_ops structure allows better control over power management. Also, duplicated 'return' is removed from atmel_spi_resume(). Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@linaro.org>