summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/common.c
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2016-11-15 20:54:19 +0100
committerSekhar Nori <nsekhar@ti.com>2016-11-16 10:11:29 +0100
commitaa9aa1ec2df6ffb270cf98b848570ed58e11a1f9 (patch)
tree5fae1531cc8ebfa1f64f77325d426ba4e96c23a9 /arch/arm/mach-davinci/common.c
parentARM: davinci: da8xx: Remove duplicated defines (diff)
downloadlinux-aa9aa1ec2df6ffb270cf98b848570ed58e11a1f9.tar.xz
linux-aa9aa1ec2df6ffb270cf98b848570ed58e11a1f9.zip
ARM: davinci: PM: rework init, remove platform device
Remove fake platform device used for PM init. Move pdata values which are common across all current platforms into pm.c. Also, since PM is only used on da8xx, remove davinci_pm_init() from common init code, and only use in da850/omapl138 board files that are currently creating the fake platform_device. Suggested-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> [nsekhar@ti.com: subject line adjustment] Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/common.c')
-rw-r--r--arch/arm/mach-davinci/common.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/common.c b/arch/arm/mach-davinci/common.c
index 049025f6d531..9f9fbfa6da0d 100644
--- a/arch/arm/mach-davinci/common.c
+++ b/arch/arm/mach-davinci/common.c
@@ -118,6 +118,5 @@ err:
void __init davinci_init_late(void)
{
davinci_cpufreq_init();
- davinci_pm_init();
davinci_clk_disable_unused();
}