commit | 60e26435623001424f1c62dde26edb614b29d8ae | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Wed Jan 14 13:11:21 2015 +0100 |
committer | Simon Horman <horms+renesas@verge.net.au> | Fri Jan 16 11:02:37 2015 +0900 |
tree | 21c612d8c4d2732d50d8bed55b8806e90e9bdfbb | |
parent | e43ee86efb68808c8847de17e58f5427b006363c [diff] |
ARM: shmobile: R-Mobile: Generalize adding/looking up special PM domains Make adding special PM domains to an array, and looking them up later, more generic, so it can be used for all special hardware blocks. The type of PM domain is also stored, so rmobile_setup_pm_domain() can use a switch() statement instead of a chain of if/else statements. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>