diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-06-04 21:22:25 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-07-06 03:23:54 +0300 |
commit | 23758258220c2fcdabb30a3c6fe0a3ce6c705550 (patch) | |
tree | 39ad2f30449579cf63be31961af58c9068d18fef /arch/arm/mach-shmobile/pm-rmobile.h | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff) | |
download | linux-23758258220c2fcdabb30a3c6fe0a3ce6c705550.tar.xz |
ARM: shmobile: R-Mobile: Move to_rmobile_pd from header to source file
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>
Diffstat (limited to 'arch/arm/mach-shmobile/pm-rmobile.h')
-rw-r--r-- | arch/arm/mach-shmobile/pm-rmobile.h | 6 |
1 files changed, 0 insertions, 6 deletions
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; |