All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/16] ARM: shmobile: R-Mobile: Move to_rmobile_pd from header to source file
Date: Fri, 10 Jul 2015 06:36:48 +0000	[thread overview]
Message-ID: <23758258220c2fcdabb30a3c6fe0a3ce6c705550.1436509680.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1436509680.git.horms+renesas@verge.net.au>

From: Geert Uytterhoeven <geert+renesas@glider.be>

to_rmobile_pd() is only used inside pm-rmobile.c

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/pm-rmobile.c | 6 ++++++
 arch/arm/mach-shmobile/pm-rmobile.h | 6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-shmobile/pm-rmobile.c b/arch/arm/mach-shmobile/pm-rmobile.c
index 95018209ff0b..94161c9b1878 100644
--- a/arch/arm/mach-shmobile/pm-rmobile.c
+++ b/arch/arm/mach-shmobile/pm-rmobile.c
@@ -34,6 +34,12 @@
 #define PSTR_RETRIES	100
 #define PSTR_DELAY_US	10
 
+static inline
+struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d)
+{
+	return container_of(d, struct rmobile_pm_domain, genpd);
+}
+
 static int rmobile_pd_power_down(struct generic_pm_domain *genpd)
 {
 	struct rmobile_pm_domain *rmobile_pd = to_rmobile_pd(genpd);
diff --git a/arch/arm/mach-shmobile/pm-rmobile.h b/arch/arm/mach-shmobile/pm-rmobile.h
index 53219786f539..3992b619c127 100644
--- a/arch/arm/mach-shmobile/pm-rmobile.h
+++ b/arch/arm/mach-shmobile/pm-rmobile.h
@@ -26,12 +26,6 @@ struct rmobile_pm_domain {
 	bool no_debug;
 };
 
-static inline
-struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d)
-{
-	return container_of(d, struct rmobile_pm_domain, genpd);
-}
-
 struct pm_domain_device {
 	const char *domain_name;
 	struct platform_device *pdev;
-- 
2.1.4


WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/16] ARM: shmobile: R-Mobile: Move to_rmobile_pd from header to source file
Date: Fri, 10 Jul 2015 15:36:48 +0900	[thread overview]
Message-ID: <23758258220c2fcdabb30a3c6fe0a3ce6c705550.1436509680.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1436509680.git.horms+renesas@verge.net.au>

From: Geert Uytterhoeven <geert+renesas@glider.be>

to_rmobile_pd() is only used inside pm-rmobile.c

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/pm-rmobile.c | 6 ++++++
 arch/arm/mach-shmobile/pm-rmobile.h | 6 ------
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-shmobile/pm-rmobile.c b/arch/arm/mach-shmobile/pm-rmobile.c
index 95018209ff0b..94161c9b1878 100644
--- a/arch/arm/mach-shmobile/pm-rmobile.c
+++ b/arch/arm/mach-shmobile/pm-rmobile.c
@@ -34,6 +34,12 @@
 #define PSTR_RETRIES	100
 #define PSTR_DELAY_US	10
 
+static inline
+struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d)
+{
+	return container_of(d, struct rmobile_pm_domain, genpd);
+}
+
 static int rmobile_pd_power_down(struct generic_pm_domain *genpd)
 {
 	struct rmobile_pm_domain *rmobile_pd = to_rmobile_pd(genpd);
diff --git a/arch/arm/mach-shmobile/pm-rmobile.h b/arch/arm/mach-shmobile/pm-rmobile.h
index 53219786f539..3992b619c127 100644
--- a/arch/arm/mach-shmobile/pm-rmobile.h
+++ b/arch/arm/mach-shmobile/pm-rmobile.h
@@ -26,12 +26,6 @@ struct rmobile_pm_domain {
 	bool no_debug;
 };
 
-static inline
-struct rmobile_pm_domain *to_rmobile_pd(struct generic_pm_domain *d)
-{
-	return container_of(d, struct rmobile_pm_domain, genpd);
-}
-
 struct pm_domain_device {
 	const char *domain_name;
 	struct platform_device *pdev;
-- 
2.1.4

  reply	other threads:[~2015-07-10  6:36 UTC|newest]

Thread overview: 186+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-23  1:25 [GIT PULL] Renesas ARM Based SoC Cleanup Updates for v3.16 Simon Horman
2014-04-23  1:25 ` Simon Horman
2014-04-23  1:25 ` [PATCH 1/4] ARM: shmobile: armadillo800eva: Spelling and grammar Simon Horman
2014-04-23  1:25   ` Simon Horman
2014-04-23  1:25 ` [PATCH 2/4] ARM: shmobile: r8a7740: Remove unused r8a7740_add_early_devices_dt() Simon Horman
2014-04-23  1:25   ` Simon Horman
2014-04-23  1:25 ` [PATCH 3/4] ARM: shmobile: sh7372: Call sh7372_add_early_devices() instead of open coding Simon Horman
2014-04-23  1:25   ` Simon Horman
2014-04-23  1:25 ` [PATCH 4/4] ARM: shmobile: r8a7740: Make r8a7740_meram_workaround() __init Simon Horman
2014-04-23  1:25   ` Simon Horman
2014-05-05 21:29 ` [GIT PULL] Renesas ARM Based SoC Cleanup Updates for v3.16 Olof Johansson
2014-05-05 21:29   ` Olof Johansson
2014-05-16  0:58 ` [GIT PULL] Renesas ARM Based SoC Cleanups v3.16 Simon Horman
2014-05-16  0:58   ` Simon Horman
2014-05-16  0:58   ` [PATCH 1/9] ARM: shmobile: Add r8a7740 Maximum CPU Frequency to DTS Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 2/9] ARM: shmobile: Use r8a7740 DT CPU Frequency in common case Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 3/9] ARM: shmobile: Use r8a7740 DT CPU Frequency for Armadillo DT Ref Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 4/9] ARM: shmobile: Remove unused r8a7740_init_delay() Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 5/9] ARM: shmobile: Use r8a7791 DT CPU Frequency in common case Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 6/9] ARM: shmobile: Use r8a7791 DT CPU Frequency for Koelsch Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 7/9] ARM: shmobile: Remove unused r8a7791_init_early() Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 8/9] ARM: shmobile: Use shmobile_init_late() on r8a7740 Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-16  0:58   ` [PATCH 9/9] ARM: shmobile: Set clock frequency in HZ from OF nodes Simon Horman
2014-05-16  0:58     ` Simon Horman
2014-05-20  6:07   ` [GIT PULL] Renesas ARM Based SoC Cleanups v3.16 Olof Johansson
2014-05-20  6:07     ` Olof Johansson
2014-06-23  2:26 ` [GIT PULL] Renesas ARM Based SoC Cleanup for v3.17 Simon Horman
2014-06-23  2:26   ` Simon Horman
2014-06-23  2:26   ` [PATCH 1/9] ARM: shmobile: Update EMEV2 DTS to include CPU frequency Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 2/9] ARM: shmobile: Use shmobile_init_delay() on EMEV2 Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 3/9] ARM: shmobile: Get rid of redundant EMEV2 mach callbacks Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 4/9] ARM: shmobile: Update r7s72100 DTS to include CPU frequency Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 5/9] ARM: shmobile: Use shmobile_init_delay() on Genmai boards Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 6/9] ARM: shmobile: Use shmobile_init_delay() on r7s72100 Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 7/9] ARM: shmobile: Use r8a7790 DT CPU Frequency in common case Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 8/9] ARM: shmobile: Use r8a7790 DT CPU Frequency for Lager Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-06-23  2:26   ` [PATCH 9/9] ARM: shmobile: Remove unused r8a7790_init_early() Simon Horman
2014-06-23  2:26     ` Simon Horman
2014-07-07  0:21   ` [GIT PULL] Renesas ARM Based SoC Cleanup for v3.17 Olof Johansson
2014-07-07  0:21     ` Olof Johansson
2014-08-23  1:44 ` [GIT PULL] Renesas ARM Based SoC Cleanup Updates for v3.18 Simon Horman
2014-08-23  1:44   ` Simon Horman
2014-08-23  1:44   ` [PATCH 1/3] ARM: shmobile: r7s72100: genmai: Remove reference board file Simon Horman
2014-08-23  1:44     ` Simon Horman
2014-08-23  1:44   ` [PATCH 2/3] ARM: shmobile: r7s72100: genmai: Remove legacy " Simon Horman
2014-08-23  1:44     ` Simon Horman
2014-08-23  1:44   ` [PATCH 3/3] ARM: shmobile: r7s72100: Remove legacy board support Simon Horman
2014-08-23  1:44     ` Simon Horman
2014-09-05 16:20   ` [GIT PULL] Renesas ARM Based SoC Cleanup Updates for v3.18 Arnd Bergmann
2014-09-05 16:20     ` Arnd Bergmann
2014-09-09  2:14     ` Simon Horman
2014-09-09  2:14       ` Simon Horman
2014-10-30  1:50 ` [GIT PULL] Renesas ARM Based SoC Cleanup for v3.19 Simon Horman
2014-10-30  1:50   ` Simon Horman
2014-10-30  1:50   ` [PATCH] ARM: shmobile: Remove FSF address from copyright headers Simon Horman
2014-10-30  1:50     ` Simon Horman
2014-11-04 22:43   ` [GIT PULL] Renesas ARM Based SoC Cleanup for v3.19 Olof Johansson
2014-11-04 22:43     ` Olof Johansson
2015-02-26  6:22 ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.1 Simon Horman
2015-02-26  6:22   ` Simon Horman
2015-02-26  6:22   ` [PATCH 1/4] ARM: shmobile: Remove mach/system.h Simon Horman
2015-02-26  6:22     ` Simon Horman
2015-02-26  6:22   ` [PATCH 2/4] ARM: shmobile: Remove mach/clkdev.h Simon Horman
2015-02-26  6:22     ` Simon Horman
2015-02-26  6:22   ` [PATCH 3/4] ARM: shmobile: Remove mach/uncompress.h Simon Horman
2015-02-26  6:22     ` Simon Horman
2015-02-26  6:22   ` [PATCH 4/4] ARM: shmobile: r8a7779: Remove redundant cpu_disable implementation Simon Horman
2015-02-26  6:22     ` Simon Horman
2015-03-04 21:54   ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.1 Arnd Bergmann
2015-03-04 21:54     ` Arnd Bergmann
2015-07-10  6:37 ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.3 Simon Horman
2015-07-10  6:37   ` Simon Horman
2015-07-10  6:36   ` Simon Horman [this message]
2015-07-10  6:36     ` [PATCH 01/16] ARM: shmobile: R-Mobile: Move to_rmobile_pd from header to source file Simon Horman
2015-07-10  6:36   ` [PATCH 02/16] ARM: shmobile: R-Mobile: Use BIT() macro instead of open coding Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 03/16] ARM: shmobile: r8a7779: Remove GENPD_FLAG_PM_CLK flag Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 04/16] ARM: shmobile: Remove legacy board code for KZM-A9-GT Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 05/16] ARM: shmobile: Remove legacy kzm9g_defconfig Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 06/16] ARM: shmobile: Drop sh73a0-kzm9g.dtb for legacy builds Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 07/16] ARM: shmobile: Remove legacy SoC code for SH-Mobile AG5 Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 08/16] ARM: shmobile: Remove legacy board code for Armadillo-800 EVA Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 09/16] ARM: shmobile: Remove legacy armadillo800eva_defconfig Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 10/16] ARM: shmobile: Drop r8a7740-armadillo800eva.dtb for legacy builds Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 11/16] ARM: shmobile: Remove legacy SoC code for R-Mobile A1 Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:36   ` [PATCH 12/16] ARM: shmobile: Remove unused dma-register.h Simon Horman
2015-07-10  6:36     ` Simon Horman
2015-07-10  6:37   ` [PATCH 13/16] ARM: shmobile: R-Mobile: Remove legacy PM Domain code Simon Horman
2015-07-10  6:37     ` Simon Horman
2015-07-10  6:37   ` [PATCH 14/16] ARM: shmobile: Remove obsolete zboot support Simon Horman
2015-07-10  6:37     ` Simon Horman
2015-07-10  6:37   ` [PATCH 15/16] ARM: shmobile: R-Car Gen2: CONFIG_ARCH_SHMOBILE_MULTI is always set Simon Horman
2015-07-10  6:37     ` Simon Horman
2015-07-10  6:37   ` [PATCH 16/16] ARM: shmobile: timer: r8a73a4 and r8a7790 are multi-platform only Simon Horman
2015-07-10  6:37     ` Simon Horman
2015-07-14  9:48   ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.3 Olof Johansson
2015-07-14  9:48     ` Olof Johansson
2015-09-17  8:59 ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.4 Simon Horman
2015-09-17  8:59   ` Simon Horman
2015-09-17  8:59   ` [PATCH 01/21] ARM: shmobile: Remove unused declaration of r8a7778_add_standard_devices_dt() Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 02/21] ARM: shmobile: Remove obsolete sh-gpio.h Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 03/21] ARM: shmobile: Remove obsolete custom earlyprintk code Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 04/21] ARM: shmobile: Remove obsolete intc.h Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 05/21] ARM: shmobile: Remove obsolete legacy PM Domain leftovers Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 06/21] ARM: shmobile: Remove obsolete earlytimer registration Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 07/21] ARM: shmobile: Remove obsolete twd_local_timer declaration Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 08/21] ARM: shmobile: bockw: remove "reference" device tree Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 09/21] ARM: shmobile: bockw: remove "reference" board file and config Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 10/21] ARM: shmobile: remove paragraph on DT reference platforms Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 11/21] ARM: shmobile: bockw: remove legacy board file and config Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 12/21] ARM: shmobile: r8a7778: remove obsolete setup code Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 13/21] ARM: shmobile: Kconfig: remove obsolete option ARCH_R8A7778 Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 14/21] ARM: shmobile: r8a7778: remove legacy clock implementation Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 15/21] ARM: shmobile: remove ARCH_SHMOBILE_LEGACY option Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 16/21] ARM: shmobile: bockw: remove legacy defconfig Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 17/21] MAINTAINERS: remove references to dropped marzen and bockw defconfigs Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 18/21] ARM: shmobile: bockw: remove legacy DTB build target Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 19/21] ARM: shmobile: Kconfig: remove unused SHMOBILE_TIMER_HZ section Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 20/21] ARM: shmobile: remove Makefile.boot Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-09-17  8:59   ` [PATCH 21/21] ARM: shmobile: Remove legacy clock support leftovers Simon Horman
2015-09-17  8:59     ` Simon Horman
2015-10-06 13:58   ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.4 Arnd Bergmann
2015-10-06 13:58     ` Arnd Bergmann
2015-10-06 15:47     ` Geert Uytterhoeven
2015-10-06 15:47       ` Geert Uytterhoeven
2015-10-06 18:42       ` Arnd Bergmann
2015-10-06 18:42         ` Arnd Bergmann
2015-10-12  7:12         ` Geert Uytterhoeven
2015-10-12  7:12           ` Geert Uytterhoeven
2015-10-12  8:21           ` Arnd Bergmann
2015-10-12  8:21             ` Arnd Bergmann
2015-11-27  1:55 ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.5 Simon Horman
2015-11-27  1:55   ` Simon Horman
2015-11-27  1:55   ` [PATCH 1/3] MAINTAINERS: Remove link to oss.renesas.com which is closed Simon Horman
2015-11-27  1:55     ` Simon Horman
2015-11-27  1:55   ` [PATCH 2/3] ARM: shmobile: Introduce ARCH_RENESAS Simon Horman
2015-11-27  1:55     ` Simon Horman
2015-11-27  1:55   ` [PATCH 3/3] ARM: shmobile: Remove legacy mach/irqs.h Simon Horman
2015-11-27  1:55     ` Simon Horman
2015-12-11 23:21   ` [GIT PULL] Renesas ARM Based SoC Cleanup for v4.5 Arnd Bergmann
2015-12-11 23:21     ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23758258220c2fcdabb30a3c6fe0a3ce6c705550.1436509680.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.