summaryrefslogtreecommitdiff
path: root/arch/sh/boot
diff options
context:
space:
mode:
authorAkshay Adiga <akshay.adiga@linux.vnet.ibm.com>2018-07-05 14:40:21 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2018-07-31 12:56:44 +0300
commit9c7b185ab2fe313b4426bf55da3624bef71f342b (patch)
tree60a19672ec4a83fcfab6cc08231936f9b6e3087c /arch/sh/boot
parent6edc22fc9cbb80fdf929df3e5b912d8c42e0ff3a (diff)
downloadlinux-9c7b185ab2fe313b4426bf55da3624bef71f342b.tar.xz
powernv/cpuidle: Parse dt idle properties into global structure
Device-tree parsing happens twice, once while deciding idle state to be used for hotplug and once during cpuidle init. Hence, parsing the device tree and caching it will reduce code duplication. Parsing code has been moved to pnv_parse_cpuidle_dt() from pnv_probe_idle_states(). In addition to the properties in the device tree the number of available states is also required. Signed-off-by: Akshay Adiga <akshay.adiga@linux.vnet.ibm.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/sh/boot')
0 files changed, 0 insertions, 0 deletions