summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_stm32f7.c
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-07-18 09:29:06 +0200
committerTom Rini <trini@konsulko.com>2017-07-26 11:26:54 -0400
commitb9e86511d138dcca75171b846111373481f1ea6d (patch)
tree5aade632559786dfeac927449403600bb8d5fbd0 /drivers/clk/clk_stm32f7.c
parent288f17e6481d556cd9eff62ca64b4d4c5863fd9e (diff)
clk: stm32f7: cleanup clocks unused definitions
clean the code by removing unused enums, structs and defines related to clocks Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Acked-by: Vikas MANOCHA <vikas.manocha@st.com>
Diffstat (limited to 'drivers/clk/clk_stm32f7.c')
-rw-r--r--drivers/clk/clk_stm32f7.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/clk/clk_stm32f7.c b/drivers/clk/clk_stm32f7.c
index 5e20b0cbb7..5bc650a7dd 100644
--- a/drivers/clk/clk_stm32f7.c
+++ b/drivers/clk/clk_stm32f7.c
@@ -195,9 +195,6 @@ unsigned long clock_get(enum clock clck)
}
switch (clck) {
- case CLOCK_CORE:
- return sysclk;
- break;
case CLOCK_AHB:
shift = ahb_psc_table[(
(readl(&STM32_RCC->cfgr) & RCC_CFGR_AHB_PSC_MASK)