summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-30 01:58:40 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-02-17 17:53:02 +0100
commitfbc7edca5a7dd417013ef4900763ef931f325b3d (patch)
tree39af724e49947af4476cc7277a2aa8bb3a8d824a /drivers/clk/at91
parent5737b73e193ba9d09286b621eecd9db3f3c6abd2 (diff)
downloadop-kernel-dev-fbc7edca5a7dd417013ef4900763ef931f325b3d.zip
op-kernel-dev-fbc7edca5a7dd417013ef4900763ef931f325b3d.tar.gz
ARM: at91: pm: move idle functions to pm.c
Avoid using code from clk/at91 for PM. This also has the bonus effect of setting arm_pm_idle for sama5 platforms. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r--drivers/clk/at91/pmc.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
index 0b255e7..361ea0c 100644
--- a/drivers/clk/at91/pmc.c
+++ b/drivers/clk/at91/pmc.c
@@ -32,21 +32,6 @@ struct at91_pmc {
void __iomem *at91_pmc_base;
EXPORT_SYMBOL_GPL(at91_pmc_base);
-void at91rm9200_idle(void)
-{
- /*
- * Disable the processor clock. The processor will be automatically
- * re-enabled by an interrupt or by a reset.
- */
- at91_pmc_write(AT91_PMC_SCDR, AT91_PMC_PCK);
-}
-
-void at91sam9_idle(void)
-{
- at91_pmc_write(AT91_PMC_SCDR, AT91_PMC_PCK);
- cpu_do_idle();
-}
-
int of_at91_get_clk_range(struct device_node *np, const char *propname,
struct clk_range *range)
{
OpenPOWER on IntegriCloud