Re: [PATCH 04/18] ARM/ARM64: cpuidle: Let back-end init ops take the driver as input

From: Sudeep Holla
Date: Fri Jun 07 2019 - 11:05:16 EST


On Mon, May 13, 2019 at 09:22:46PM +0200, Ulf Hansson wrote:
> To allow arch back-end init ops to operate on the cpuidle driver for the
> corresponding CPU, let's pass along a pointer to the struct cpuidle_driver*
> and forward it the relevant layers of callbacks for ARM/ARM64.
>

I may be wrong, but I see drv is just used to get state_count mostly.
It's also used in flattening part, but that should not be here either.

--
Regards,
Sudeep