linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] ARM: cpuidle: remove useless declaration
@ 2013-04-03 10:56 Daniel Lezcano
  2013-04-03 11:07 ` Rafael J. Wysocki
  0 siblings, 1 reply; 15+ messages in thread
From: Daniel Lezcano @ 2013-04-03 10:56 UTC (permalink / raw)
  To: linux-arm-kernel


Hi Rafael,

I noticed this patchset went to the linux-arm-project in patchwork but
it was addressed to you / linux-pm. AFAIU, you rely on patchwork to
manage the patches, I was wondering if you could have missed them ?

Thanks
  -- Daniel

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 1/9] ARM: cpuidle: remove useless declaration
@ 2013-04-03 12:15 Daniel Lezcano
  2013-04-03 12:23 ` Daniel Lezcano
  2013-04-04 22:30 ` Rafael J. Wysocki
  0 siblings, 2 replies; 15+ messages in thread
From: Daniel Lezcano @ 2013-04-03 12:15 UTC (permalink / raw)
  To: linux-arm-kernel

The noop functions code is not necessary because the header file is
included in files which are compiled when CONFIG_CPU_IDLE is on.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 arch/arm/include/asm/cpuidle.h |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm/include/asm/cpuidle.h b/arch/arm/include/asm/cpuidle.h
index 2fca60a..7367787 100644
--- a/arch/arm/include/asm/cpuidle.h
+++ b/arch/arm/include/asm/cpuidle.h
@@ -1,13 +1,8 @@
 #ifndef __ASM_ARM_CPUIDLE_H
 #define __ASM_ARM_CPUIDLE_H
 
-#ifdef CONFIG_CPU_IDLE
 extern int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
-		struct cpuidle_driver *drv, int index);
-#else
-static inline int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
-		struct cpuidle_driver *drv, int index) { return -ENODEV; }
-#endif
+				    struct cpuidle_driver *drv, int index);
 
 /* Common ARM WFI state */
 #define ARM_CPUIDLE_WFI_STATE_PWR(p) {\
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread
* [PATCH 1/9] ARM: cpuidle: remove useless declaration
@ 2013-03-29 10:31 Daniel Lezcano
  2013-03-29 11:40 ` Santosh Shilimkar
  0 siblings, 1 reply; 15+ messages in thread
From: Daniel Lezcano @ 2013-03-29 10:31 UTC (permalink / raw)
  To: linux-arm-kernel

The noop functions code is not necessary because the header file is
included in files which are compiled when CONFIG_CPU_IDLE is on.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 arch/arm/include/asm/cpuidle.h |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm/include/asm/cpuidle.h b/arch/arm/include/asm/cpuidle.h
index 2fca60a..7367787 100644
--- a/arch/arm/include/asm/cpuidle.h
+++ b/arch/arm/include/asm/cpuidle.h
@@ -1,13 +1,8 @@
 #ifndef __ASM_ARM_CPUIDLE_H
 #define __ASM_ARM_CPUIDLE_H
 
-#ifdef CONFIG_CPU_IDLE
 extern int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
-		struct cpuidle_driver *drv, int index);
-#else
-static inline int arm_cpuidle_simple_enter(struct cpuidle_device *dev,
-		struct cpuidle_driver *drv, int index) { return -ENODEV; }
-#endif
+				    struct cpuidle_driver *drv, int index);
 
 /* Common ARM WFI state */
 #define ARM_CPUIDLE_WFI_STATE_PWR(p) {\
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2013-04-18 15:47 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 10:56 [PATCH 1/9] ARM: cpuidle: remove useless declaration Daniel Lezcano
2013-04-03 11:07 ` Rafael J. Wysocki
2013-04-03 11:04   ` Daniel Lezcano
  -- strict thread matches above, loose matches on Subject: below --
2013-04-03 12:15 Daniel Lezcano
2013-04-03 12:23 ` Daniel Lezcano
2013-04-08 20:50   ` Rafael J. Wysocki
2013-04-08 20:53     ` Daniel Lezcano
2013-04-18 14:13   ` Russell King - ARM Linux
2013-04-18 14:31     ` Daniel Lezcano
2013-04-18 15:42       ` Russell King - ARM Linux
2013-04-18 15:47         ` Daniel Lezcano
2013-04-04 22:30 ` Rafael J. Wysocki
2013-03-29 10:31 Daniel Lezcano
2013-03-29 11:40 ` Santosh Shilimkar
2013-03-29 11:53   ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).