On 04/12/2013 02:44 AM, Simon Horman wrote:
On Thu, Apr 11, 2013 at 10:42:31PM +0200, Daniel Lezcano wrote:
Remove the shmobile_enter_wfi function which is the same as the common WFI enter function from the arm cpuidle driver defined with the ARM_CPUIDLE_WFI_STATE macro.
Should this patch also make shmobile_enter_wfi static in arch/arm/mach-shmobile/cpuidle.c ?
Hum, no :)
Actually, the function was removed because it was expected to be not longer used. I missed the cpuidle driver in the pm-sh7372.c file and the function declaration in the header file.
Also, I have a slight preference for the patch to be split into two.
- A patch to remove usage of shmobile_enter_wfi from the sh7372 SoC.
- A patch to remove shmobile_enter_wfi. from common.h (and make it static?).
Ok, regarding my answer above, do you still want two patches for this ?
Thanks -- Daniel