On Fri, 7 Jun 2019 at 17:01, Sudeep Holla <sudeep.holla@xxxxxxx> wrote: > > 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. Let me copy the note I added below the changelog for $subject patch, as hopefully that should clarify the reason to why this is needed. "- This patch is needed by the subsequent patch, but more importantly, also by "[PATCH 10/18] drivers: firmware: psci: Add hierarchical domain idle states converter"." Kind regards Uffe