Searched hist:"1595 e4b0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-psci.c | 1595e4b0 Thu Oct 10 05:01:48 CDT 2019 Ulf Hansson <ulf.hansson@linaro.org> cpuidle: psci: Simplify OF parsing of CPU idle state nodes
Iterating through the idle state nodes in DT, to find out the number of states that needs to be allocated is unnecessary, as it has already been done from dt_init_idle_driver(). Therefore, drop the iteration and use the number we already have at hand.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Rafael J. Wysocki <rafael@kernel.org> 1595e4b0 Thu Oct 10 05:01:48 CDT 2019 Ulf Hansson <ulf.hansson@linaro.org> cpuidle: psci: Simplify OF parsing of CPU idle state nodes Iterating through the idle state nodes in DT, to find out the number of states that needs to be allocated is unnecessary, as it has already been done from dt_init_idle_driver(). Therefore, drop the iteration and use the number we already have at hand. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Rafael J. Wysocki <rafael@kernel.org>
|