drivers: firmware: psci: Split psci_dt_cpu_init_idle()
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Apr 2019 08:20:23 +0000 (10:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 12 Apr 2019 08:59:37 +0000 (10:59 +0200)
commit0865d20c50741e1d37d4a1108764e5e45a83973e
treee56d052d6b47bfce9e317db78a21f7aef599d857
parentf0f6ad9092601d95729ce14ec6da3b5055e18714
drivers: firmware: psci: Split psci_dt_cpu_init_idle()

Split the psci_dt_cpu_init_idle() function into two functions. This
makes the code clearer and provides better re-usability.

Co-developed-by: Lina Iyer <lina.iyer@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/firmware/psci/psci.c