Re: [PATCH 4/4] cpuidle - support multiple drivers

2012-09-29 Thread Rafael J. Wysocki
On Saturday, September 29, 2012, Daniel Lezcano wrote: > On 09/29/2012 11:41 AM, Francesco Lavra wrote: > > Hi, > > Hi Francesco, > > thanks for reviewing the patch. > > >> static ssize_t show_current_driver(struct device *dev, > >> struct device_attribute *attr, >

Re: [PATCH 4/4] cpuidle - support multiple drivers

2012-09-29 Thread Daniel Lezcano
On 09/29/2012 11:41 AM, Francesco Lavra wrote: > Hi, Hi Francesco, thanks for reviewing the patch. >> static ssize_t show_current_driver(struct device *dev, >> struct device_attribute *attr, >> char *buf) >> { >> -ssize_t ret;

Re: [PATCH 4/4] cpuidle - support multiple drivers

2012-09-29 Thread Francesco Lavra
Hi, On 09/25/2012 12:43 AM, Daniel Lezcano wrote: ... > diff --git a/drivers/cpuidle/sysfs.c b/drivers/cpuidle/sysfs.c > index 5f809e3..2596422 100644 > --- a/drivers/cpuidle/sysfs.c > +++ b/drivers/cpuidle/sysfs.c > @@ -43,21 +43,46 @@ out: > return i; > } > > +struct cbarg { > + cha