ARM: SAMSUNG: pm: Adjust for pinctrl- and DT-enabled platforms
authorTomasz Figa <t.figa@samsung.com>
Fri, 17 May 2013 16:24:29 +0000 (18:24 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Jun 2013 08:10:12 +0000 (01:10 -0700)
commitcd3fc1b9a34e535a8acbead7461475fbc43bdd49
tree1b59b008d6fdb1b6ed5327b94fad7d207f2a5f9e
parent7e5955db458b2d349a8180242afebc78a13ed023
ARM: SAMSUNG: pm: Adjust for pinctrl- and DT-enabled platforms

This patch makes legacy code on suspend/resume path being executed
conditionally, on non-DT platforms only, to fix suspend/resume of
DT-enabled systems, for which the code is inappropriate.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[olof: add #include <linux/of.h>]
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/plat-samsung/pm.c