Skip to content

Commit

Permalink
clk: qcom: rpmh: Drop unnecessary semicolons
Browse files Browse the repository at this point in the history
Some functions end in }; which is just bad style. Remove the extra
semicolon.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Link: https://lkml.kernel.org/r/20200309221232.145630-3-sboyd@kernel.org
  • Loading branch information
Stephen Boyd committed Mar 25, 2020
1 parent 2cf7a4c commit 751d792
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/clk/qcom/clk-rpmh.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ static int clk_rpmh_prepare(struct clk_hw *hw)
mutex_unlock(&rpmh_clk_lock);

return ret;
};
}

static void clk_rpmh_unprepare(struct clk_hw *hw)
{
Expand Down Expand Up @@ -293,14 +293,14 @@ static int clk_rpmh_bcm_prepare(struct clk_hw *hw)
struct clk_rpmh *c = to_clk_rpmh(hw);

return clk_rpmh_bcm_send_cmd(c, true);
};
}

static void clk_rpmh_bcm_unprepare(struct clk_hw *hw)
{
struct clk_rpmh *c = to_clk_rpmh(hw);

clk_rpmh_bcm_send_cmd(c, false);
};
}

static int clk_rpmh_bcm_set_rate(struct clk_hw *hw, unsigned long rate,
unsigned long parent_rate)
Expand All @@ -316,7 +316,7 @@ static int clk_rpmh_bcm_set_rate(struct clk_hw *hw, unsigned long rate,
clk_rpmh_bcm_send_cmd(c, true);

return 0;
};
}

static long clk_rpmh_round_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *parent_rate)
Expand Down

0 comments on commit 751d792

Please sign in to comment.