summaryrefslogtreecommitdiffstats
path: root/drivers/clk/samsung/clk-s3c64xx.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-11-27 03:31:48 +0100
committerSylwester Nawrocki <s.nawrocki@samsung.com>2018-02-14 15:40:53 +0100
commit35615917ef027386a9acbe3cd8752f02b125b074 (patch)
tree3baf8dd4828e7e60ca5dcab95a358296b0200cb8 /drivers/clk/samsung/clk-s3c64xx.c
parentLinux 4.16-rc1 (diff)
downloadlinux-35615917ef027386a9acbe3cd8752f02b125b074.tar.xz
linux-35615917ef027386a9acbe3cd8752f02b125b074.zip
clk: samsung: s3c: Remove unneeded enumeration
This patch just removes the unneeded enumeration for PLL index. Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Diffstat (limited to 'drivers/clk/samsung/clk-s3c64xx.c')
-rw-r--r--drivers/clk/samsung/clk-s3c64xx.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/clk/samsung/clk-s3c64xx.c b/drivers/clk/samsung/clk-s3c64xx.c
index 7306867a0ab8..6db01cf5ab83 100644
--- a/drivers/clk/samsung/clk-s3c64xx.c
+++ b/drivers/clk/samsung/clk-s3c64xx.c
@@ -56,11 +56,6 @@
#define GATE_ON(_id, cname, pname, o, b) \
GATE(_id, cname, pname, o, b, CLK_IGNORE_UNUSED, 0)
-/* list of PLLs to be registered */
-enum s3c64xx_plls {
- apll, mpll, epll,
-};
-
static void __iomem *reg_base;
static bool is_s3c6400;
@@ -364,12 +359,12 @@ GATE_CLOCKS(s3c6410_gate_clks) __initdata = {
/* List of PLL clocks. */
static struct samsung_pll_clock s3c64xx_pll_clks[] __initdata = {
- [apll] = PLL(pll_6552, FOUT_APLL, "fout_apll", "fin_pll",
- APLL_LOCK, APLL_CON, NULL),
- [mpll] = PLL(pll_6552, FOUT_MPLL, "fout_mpll", "fin_pll",
- MPLL_LOCK, MPLL_CON, NULL),
- [epll] = PLL(pll_6553, FOUT_EPLL, "fout_epll", "fin_pll",
- EPLL_LOCK, EPLL_CON0, NULL),
+ PLL(pll_6552, FOUT_APLL, "fout_apll", "fin_pll",
+ APLL_LOCK, APLL_CON, NULL),
+ PLL(pll_6552, FOUT_MPLL, "fout_mpll", "fin_pll",
+ MPLL_LOCK, MPLL_CON, NULL),
+ PLL(pll_6553, FOUT_EPLL, "fout_epll", "fin_pll",
+ EPLL_LOCK, EPLL_CON0, NULL),
};
/* Aliases for common s3c64xx clocks. */