Commit 23aadcb9 authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo

clk: imx: clk-sscg-pll: Remove unnecessary blank lines

Remove many unnecessary blank lines for cleanup.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarAbel Vesa <abel.vesa@nxp.com>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b1fe0d09
...@@ -72,7 +72,6 @@ struct clk_sscg_pll_setup { ...@@ -72,7 +72,6 @@ struct clk_sscg_pll_setup {
int divr2, divf2; int divr2, divf2;
int divq; int divq;
int bypass; int bypass;
uint64_t vco1; uint64_t vco1;
uint64_t vco2; uint64_t vco2;
uint64_t fout; uint64_t fout;
...@@ -86,11 +85,8 @@ struct clk_sscg_pll_setup { ...@@ -86,11 +85,8 @@ struct clk_sscg_pll_setup {
struct clk_sscg_pll { struct clk_sscg_pll {
struct clk_hw hw; struct clk_hw hw;
const struct clk_ops ops; const struct clk_ops ops;
void __iomem *base; void __iomem *base;
struct clk_sscg_pll_setup setup; struct clk_sscg_pll_setup setup;
u8 parent; u8 parent;
u8 bypass1; u8 bypass1;
u8 bypass2; u8 bypass2;
...@@ -194,7 +190,6 @@ static int clk_sscg_pll2_find_setup(struct clk_sscg_pll_setup *setup, ...@@ -194,7 +190,6 @@ static int clk_sscg_pll2_find_setup(struct clk_sscg_pll_setup *setup,
struct clk_sscg_pll_setup *temp_setup, struct clk_sscg_pll_setup *temp_setup,
uint64_t ref) uint64_t ref)
{ {
int ret; int ret;
if (ref < PLL_STAGE1_MIN_FREQ || ref > PLL_STAGE1_MAX_FREQ) if (ref < PLL_STAGE1_MIN_FREQ || ref > PLL_STAGE1_MAX_FREQ)
...@@ -253,7 +248,6 @@ static int clk_sscg_pll1_find_setup(struct clk_sscg_pll_setup *setup, ...@@ -253,7 +248,6 @@ static int clk_sscg_pll1_find_setup(struct clk_sscg_pll_setup *setup,
struct clk_sscg_pll_setup *temp_setup, struct clk_sscg_pll_setup *temp_setup,
uint64_t ref) uint64_t ref)
{ {
int ret; int ret;
if (ref < PLL_REF_MIN_FREQ || ref > PLL_REF_MAX_FREQ) if (ref < PLL_REF_MIN_FREQ || ref > PLL_REF_MAX_FREQ)
...@@ -280,7 +274,6 @@ static int clk_sscg_pll_find_setup(struct clk_sscg_pll_setup *setup, ...@@ -280,7 +274,6 @@ static int clk_sscg_pll_find_setup(struct clk_sscg_pll_setup *setup,
temp_setup.fout_request = rate; temp_setup.fout_request = rate;
switch (try_bypass) { switch (try_bypass) {
case PLL_BYPASS2: case PLL_BYPASS2:
if (prate == rate) { if (prate == rate) {
setup->bypass = PLL_BYPASS2; setup->bypass = PLL_BYPASS2;
...@@ -288,11 +281,9 @@ static int clk_sscg_pll_find_setup(struct clk_sscg_pll_setup *setup, ...@@ -288,11 +281,9 @@ static int clk_sscg_pll_find_setup(struct clk_sscg_pll_setup *setup,
ret = 0; ret = 0;
} }
break; break;
case PLL_BYPASS1: case PLL_BYPASS1:
ret = clk_sscg_pll2_find_setup(setup, &temp_setup, prate); ret = clk_sscg_pll2_find_setup(setup, &temp_setup, prate);
break; break;
case PLL_BYPASS_NONE: case PLL_BYPASS_NONE:
ret = clk_sscg_pll1_find_setup(setup, &temp_setup, prate); ret = clk_sscg_pll1_find_setup(setup, &temp_setup, prate);
break; break;
...@@ -301,7 +292,6 @@ static int clk_sscg_pll_find_setup(struct clk_sscg_pll_setup *setup, ...@@ -301,7 +292,6 @@ static int clk_sscg_pll_find_setup(struct clk_sscg_pll_setup *setup,
return ret; return ret;
} }
static int clk_sscg_pll_is_prepared(struct clk_hw *hw) static int clk_sscg_pll_is_prepared(struct clk_hw *hw)
{ {
struct clk_sscg_pll *pll = to_clk_sscg_pll(hw); struct clk_sscg_pll *pll = to_clk_sscg_pll(hw);
......
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