Skip to content

Commit 751d792

Browse files
committed
clk: qcom: rpmh: Drop unnecessary semicolons
Some functions end in }; which is just bad style. Remove the extra semicolon. Cc: Bjorn Andersson <[email protected]> Cc: Taniya Das <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 2cf7a4c commit 751d792

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/clk/qcom/clk-rpmh.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ static int clk_rpmh_prepare(struct clk_hw *hw)
227227
mutex_unlock(&rpmh_clk_lock);
228228

229229
return ret;
230-
};
230+
}
231231

232232
static void clk_rpmh_unprepare(struct clk_hw *hw)
233233
{
@@ -293,14 +293,14 @@ static int clk_rpmh_bcm_prepare(struct clk_hw *hw)
293293
struct clk_rpmh *c = to_clk_rpmh(hw);
294294

295295
return clk_rpmh_bcm_send_cmd(c, true);
296-
};
296+
}
297297

298298
static void clk_rpmh_bcm_unprepare(struct clk_hw *hw)
299299
{
300300
struct clk_rpmh *c = to_clk_rpmh(hw);
301301

302302
clk_rpmh_bcm_send_cmd(c, false);
303-
};
303+
}
304304

305305
static int clk_rpmh_bcm_set_rate(struct clk_hw *hw, unsigned long rate,
306306
unsigned long parent_rate)
@@ -316,7 +316,7 @@ static int clk_rpmh_bcm_set_rate(struct clk_hw *hw, unsigned long rate,
316316
clk_rpmh_bcm_send_cmd(c, true);
317317

318318
return 0;
319-
};
319+
}
320320

321321
static long clk_rpmh_round_rate(struct clk_hw *hw, unsigned long rate,
322322
unsigned long *parent_rate)

0 commit comments

Comments
 (0)