linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/9] ARM: cpuidle: remove useless declaration
@ 2013-03-29 10:31 Daniel Lezcano
  2013-03-29 10:31 ` [PATCH 2/9] ARM: shmobile: pm: fix init sections Daniel Lezcano
                   ` (3 more replies)
  0 siblings, 4 replies; 46+ messages in thread
From: Daniel Lezcano @ 2013-03-29 10:31 UTC (permalink / raw)
  To: rjw-KKrjLPT3xs0
  Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA, patches-QSEj5FYQhm4dnm+yROfE0A,
	linaro-kernel-cunTk1MwBs8s++Sfvej+rw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-lFZ/pmaqli7XmaaqVzeoHQ, rnayak-l0cyMroinI0,
	swarren-3lzwWm7+Weoh9ZMKESR00Q,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	horms+renesas-/R6kz+dDXgpPR4JQBCEnsQ,
	santosh.shilimkar-l0cyMroinI0, arnd-r2nGTMty4D4,
	lenb-DgEjT+Ai2ygdnm+yROfE0A, nsekhar-l0cyMroinI0

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-QSEj5FYQhm4dnm+yROfE0A@public.gmane.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] 46+ messages in thread
* [PATCH 1/9] ARM: cpuidle: remove useless declaration
@ 2013-04-03 10:56 Daniel Lezcano
       [not found] ` <515C0AFB.80203-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 46+ messages in thread
From: Daniel Lezcano @ 2013-04-03 10:56 UTC (permalink / raw)
  To: rjw-KKrjLPT3xs0
  Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA, patches-QSEj5FYQhm4dnm+yROfE0A,
	linaro-kernel-cunTk1MwBs8s++Sfvej+rw,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-lFZ/pmaqli7XmaaqVzeoHQ, rnayak-l0cyMroinI0,
	swarren-3lzwWm7+Weoh9ZMKESR00Q,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	horms+renesas-/R6kz+dDXgpPR4JQBCEnsQ,
	santosh.shilimkar-l0cyMroinI0, arnd-r2nGTMty4D4,
	lenb-DgEjT+Ai2ygdnm+yROfE0A, nsekhar-l0cyMroinI0

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]


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




[-- Attachment #2: Attached Message Part --]
[-- Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 46+ 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
       [not found] ` <1364991322-20585-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 2 replies; 46+ messages in thread
From: Daniel Lezcano @ 2013-04-03 12:15 UTC (permalink / raw)
  To: rjw
  Cc: linux-pm, patches, linaro-kernel, linux-arm-kernel, linux, rnayak,
	swarren, linux-tegra, horms+renesas, santosh.shilimkar, arnd,
	lenb, nsekhar, josephl, deepthi

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] 46+ messages in thread

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

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-29 10:31 [PATCH 1/9] ARM: cpuidle: remove useless declaration Daniel Lezcano
2013-03-29 10:31 ` [PATCH 2/9] ARM: shmobile: pm: fix init sections Daniel Lezcano
2013-03-29 10:31 ` [PATCH 3/9] ARM: shmobile: cpuidle: remove useless WFI function Daniel Lezcano
2013-03-29 10:31 ` [PATCH 5/9] ARM: tegra2: cpuidle: change driver initialization Daniel Lezcano
2013-03-29 16:02   ` Stephen Warren
2013-04-03 11:18     ` Daniel Lezcano
     [not found]       ` <515C101F.1020801-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-04-03 11:23         ` Joseph Lo
     [not found]           ` <1364988239.16957.78.camel-yx3yKKdKkHfc7b1ADBJPm0n48jw8i0AO@public.gmane.org>
2013-04-03 12:09             ` Daniel Lezcano
     [not found]   ` <1364553095-25110-5-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-30  2:22     ` Joseph Lo
2013-04-03 16:51       ` Stephen Warren
     [not found] ` <1364553095-25110-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-29 10:31   ` [PATCH 4/9] ARM: OMAP4: cpuidle: fix wrong " Daniel Lezcano
     [not found]     ` <1364553095-25110-4-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-29 10:38       ` Santosh Shilimkar
     [not found]         ` <51556F1D.5030208-l0cyMroinI0@public.gmane.org>
2013-03-29 10:45           ` Daniel Lezcano
     [not found]             ` <515570DF.5010608-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-29 10:53               ` Santosh Shilimkar
     [not found]                 ` <515572C7.1030309-l0cyMroinI0@public.gmane.org>
2013-03-29 11:23                   ` Daniel Lezcano
     [not found]                     ` <515579C6.1090602-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-29 11:31                       ` Santosh Shilimkar
2013-03-29 11:56               ` Amit Kucheria
2013-03-29 12:20                 ` Santosh Shilimkar
2013-03-29 12:50                   ` Amit Kucheria
     [not found]                     ` <CAP245DWAAgQ4co34mdkFgepC5kP9v0n6B954ej2X_y20LE9kSQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-29 15:10                       ` Santosh Shilimkar
2013-03-29 15:50                         ` How to facilitate the cpuidle drivers to go to the same direction (Was: Re: [PATCH 4/9] ARM: OMAP4: cpuidle: fix wrong driver initialization) Daniel Lezcano
2013-03-31 11:14                           ` Rafael J. Wysocki
     [not found]                           ` <5155B85F.6030808-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-04-01  6:05                             ` Deepthi Dharwar
     [not found]                               ` <515923C7.8040408-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2013-04-01  8:26                                 ` Daniel Lezcano
2013-04-01  8:29                                 ` Benjamin Herrenschmidt
2013-04-02 18:37                                   ` Olof Johansson
2013-03-29 10:31   ` [PATCH 6/9] ARM: tegra: cpuidle: remove useless initialization Daniel Lezcano
2013-03-29 10:31   ` [PATCH 7/9] ARM: davinci: cpuidle: fix wrong enter function Daniel Lezcano
     [not found]     ` <1364553095-25110-7-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-29 11:36       ` Santosh Shilimkar
2013-03-29 10:31   ` [PATCH 8/9] intel: cpuidle: remove stop/start critical timings Daniel Lezcano
2013-03-29 10:31   ` [PATCH 9/9] ARM: omap3: cpuidle: enable time keeping Daniel Lezcano
2013-03-29 11:35     ` Santosh Shilimkar
2013-03-29 11:40   ` [PATCH 1/9] ARM: cpuidle: remove useless declaration Santosh Shilimkar
     [not found]     ` <51557DC6.5060104-l0cyMroinI0@public.gmane.org>
2013-03-29 11:53       ` Daniel Lezcano
  -- strict thread matches above, loose matches on Subject: below --
2013-04-03 10:56 Daniel Lezcano
     [not found] ` <515C0AFB.80203-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-04-03 11:07   ` Rafael J. Wysocki
2013-04-03 11:04     ` Daniel Lezcano
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
     [not found]         ` <20130418154236.GY14496-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2013-04-18 15:47           ` Daniel Lezcano
     [not found] ` <1364991322-20585-1-git-send-email-daniel.lezcano-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-04-04 22:30   ` Rafael J. Wysocki

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).