Commit Graph

2 Commits

Author SHA1 Message Date
Christophe JAILLET 9cfc93b2f8 ARM: zx: Fix error handling
'devm_ioremap_resource()' returns an error pointer in case of error, not
NULL. So test it with IS_ERR.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Olof Johansson <olof@lixom.net>
2016-11-07 19:19:35 -08:00
Jun Nie f15107f412 ARM: zx: Add power domains for ZX296702
Add power domains for ZX296702 to power off
inactive power domains in runtime.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
[olof: Marked zx296702_pd_driver as __initdata to avoid section mismatch]
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-07-30 14:36:36 +02:00