ARM: cpuidle: constify return value of arm_cpuidle_get_ops()
authorJisheng Zhang <jszhang@marvell.com>
Tue, 22 Mar 2016 14:42:41 +0000 (22:42 +0800)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 20 Apr 2016 04:59:11 +0000 (06:59 +0200)
commit4cfd55202cee115a3686d5ad6a0f60d604aca802
tree0150e81e6f7e7234d9fb45d1de87bce2b0341ab3
parent33475a8784f4b8f0bff4419569e0dc348b318c99
ARM: cpuidle: constify return value of arm_cpuidle_get_ops()

arm_cpuidle_read_ops() just copies '*ops' to cpuidle_ops[cpu], so the
structure '*ops' is not modified at all.

The comment is also updated accordingly.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/kernel/cpuidle.c