[PATCH 07/15] ARM: cpuidle: add init/exit routine

Nicolas Pitre nicolas.pitre at linaro.org
Mon Mar 25 17:57:42 EDT 2013

On Mon, 25 Mar 2013, Daniel Lezcano wrote:

> On 03/25/2013 09:28 PM, Nicolas Pitre wrote:
> > On Mon, 25 Mar 2013, Daniel Lezcano wrote:
> > 
> >> In the future, when all the ARM cpuidle driver will be fully
> >> consolidated, that will be easier to identify the common parts across
> >> the different arch and then move them to the generic framework.
> > 
> > Nothing prevents you from doing that consolidation work right in 
> > drivers/cpuidle/.
> I fully agree with you but I think there is a misunderstanding.
> The idea is to consolidate the ARM code in the ARM cpuidle driver which
> is mostly empty. The init/exit functions could falsely lead someone to
> think they could be moved in the generic framework but IMO it is too
> soon because the code consolidation will bring some arch specificity and
> in this case we will going back and forth. I want to avoid that.
> Let me consolidate the ARM driver, cleanup the headers to split the arch
> specific code from the rest and then move this driver to
> drivers/cpuidle. This is just a question of a week.



More information about the linux-arm-kernel mailing list