[PATCH v2 8/9] intel_idle: use the common cpuidle_[un]register() routines

2013-12-20 Thread Bartlomiej Zolnierkiewicz
It is now possible to use the common cpuidle_[un]register() routines (instead of open-coding them) so do it. Signed-off-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Len Brown l...@kernel.org --- drivers/idle/intel_idle.c | 114

Re: [PATCH v2 8/9] intel_idle: use the common cpuidle_[un]register() routines

2013-12-20 Thread Daniel Lezcano
On 12/20/2013 07:47 PM, Bartlomiej Zolnierkiewicz wrote: It is now possible to use the common cpuidle_[un]register() routines (instead of open-coding them) so do it. Just an addition: The cpuidle_register common routine calls cpuidle_register_driver which initialize the driver's cpumask to