Re: [RFC 1/4] cpuidle: define the enter function in the driver structure

2012-06-14 Thread Daniel Lezcano
On 06/14/2012 09:49 AM, Namhyung Kim wrote: > Hi, > > On Fri, 8 Jun 2012 18:02:42 +0200, Daniel Lezcano wrote: >> We have the state index passed as parameter to the 'enter' function. >> Most of the drivers assign their 'enter' functions several times in >> the cpuidle_state structure, as we have

Re: [RFC 1/4] cpuidle: define the enter function in the driver structure

2012-06-14 Thread Namhyung Kim
Hi, On Fri, 8 Jun 2012 18:02:42 +0200, Daniel Lezcano wrote: > We have the state index passed as parameter to the 'enter' function. > Most of the drivers assign their 'enter' functions several times in > the cpuidle_state structure, as we have the index, we can delegate > to the driver to handle