From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.lezcano@linaro.org (Daniel Lezcano) Date: Fri, 12 Apr 2013 08:47:13 +0200 Subject: [V2 patch 01/19] ARM: shmobile: cpuidle: remove shmobile_enter_wfi function In-Reply-To: <20130412004425.GD24461@verge.net.au> References: <1365712969-7541-1-git-send-email-daniel.lezcano@linaro.org> <1365712969-7541-2-git-send-email-daniel.lezcano@linaro.org> <20130412004425.GD24461@verge.net.au> Message-ID: <5167ADF1.50401@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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. > 1. A patch to remove usage of shmobile_enter_wfi from the sh7372 SoC. > 2. 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 -- Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog