Re: [PATCH v4 1/2] ARM: cpuidle: fix !cpuidle_ops[cpu].init case during init
From: Daniel Lezcano
Date: Thu Jul 07 2016 - 09:45:56 EST
On Wed, Jul 06, 2016 at 02:15:54PM +0800, Jisheng Zhang wrote:
> Let's assume cpuidle_ops exists but it doesn't implement the according
> init callback, current arm_cpuidle_init() will return success to its
> caller, but in fact it should return -EOPNOTSUPP.
>
> Signed-off-by: Jisheng Zhang <jszhang@xxxxxxxxxxx>
> ---
Acked-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>