Alex Shi 59fffa3406 cpu: clean up register_cpu func
This patch could reduce one branch in this function. Also
make the code more readble.

Signed-off-by: Alex Shi <alex.shi@linaro.org>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
To: linux-kernel@vger.kernel.org
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-pm@vger.kernel.org
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-08-31 15:19:55 +02:00
..
2015-09-17 06:06:54 -07:00
2016-08-31 15:19:55 +02:00
2016-01-22 18:04:28 -05:00
2016-08-31 15:13:56 +02:00
2014-09-01 13:48:59 +02:00