Commit 74b9b62b authored by Tero Kristo's avatar Tero Kristo Committed by Paul Walmsley

ARM: OMAP4+: dpll: remove cpu_is_omap44xx checks

These are unnecessary, as the clock code is only used on OMAP4+ platforms
through clock registrations. This also allows to eventually migrate the
clock type implementation under clock driver.
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Reviewed-by: default avatarMike Turquette <mturquette@linaro.org>
Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
parent 0b6fbd68
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/bitops.h> #include <linux/bitops.h>
#include "soc.h"
#include "clock.h" #include "clock.h"
#include "clock44xx.h" #include "clock44xx.h"
#include "cm-regbits-44xx.h" #include "cm-regbits-44xx.h"
...@@ -35,7 +34,7 @@ int omap4_dpllmx_gatectrl_read(struct clk_hw_omap *clk) ...@@ -35,7 +34,7 @@ int omap4_dpllmx_gatectrl_read(struct clk_hw_omap *clk)
u32 v; u32 v;
u32 mask; u32 mask;
if (!clk || !clk->clksel_reg || !cpu_is_omap44xx()) if (!clk || !clk->clksel_reg)
return -EINVAL; return -EINVAL;
mask = clk->flags & CLOCK_CLKOUTX2 ? mask = clk->flags & CLOCK_CLKOUTX2 ?
...@@ -54,7 +53,7 @@ void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk) ...@@ -54,7 +53,7 @@ void omap4_dpllmx_allow_gatectrl(struct clk_hw_omap *clk)
u32 v; u32 v;
u32 mask; u32 mask;
if (!clk || !clk->clksel_reg || !cpu_is_omap44xx()) if (!clk || !clk->clksel_reg)
return; return;
mask = clk->flags & CLOCK_CLKOUTX2 ? mask = clk->flags & CLOCK_CLKOUTX2 ?
...@@ -72,7 +71,7 @@ void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk) ...@@ -72,7 +71,7 @@ void omap4_dpllmx_deny_gatectrl(struct clk_hw_omap *clk)
u32 v; u32 v;
u32 mask; u32 mask;
if (!clk || !clk->clksel_reg || !cpu_is_omap44xx()) if (!clk || !clk->clksel_reg)
return; return;
mask = clk->flags & CLOCK_CLKOUTX2 ? mask = clk->flags & CLOCK_CLKOUTX2 ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment