Skip to content

Commit 043ebf3

Browse files
Shubhrajyoti DattaPortia Stephens
authored andcommitted
misc: jesd204b: Remove unused function
Remove the unused functions. Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com> State: pending Signed-off-by: Hsuan-Yu Lin <shane.lin@canonical.com> Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
1 parent 413b04f commit 043ebf3

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

drivers/misc/jesd204b/xilinx_jesd204b.c

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -203,36 +203,6 @@ static ssize_t jesd204b_syncreg_read(struct device *dev,
203203

204204
static DEVICE_ATTR(sync_status, 0400, jesd204b_syncreg_read, NULL);
205205

206-
static unsigned int long jesd204b_clk_recalc_rate(struct clk_hw *hw,
207-
unsigned long parent_rate)
208-
{
209-
return parent_rate;
210-
}
211-
212-
static int jesd204b_clk_enable(struct clk_hw *hw)
213-
{
214-
to_clk_priv(hw)->enabled = true;
215-
216-
return 0;
217-
}
218-
219-
static void jesd204b_clk_disable(struct clk_hw *hw)
220-
{
221-
to_clk_priv(hw)->enabled = false;
222-
}
223-
224-
static int jesd204b_clk_is_enabled(struct clk_hw *hw)
225-
{
226-
return to_clk_priv(hw)->enabled;
227-
}
228-
229-
static const struct clk_ops clkout_ops = {
230-
.recalc_rate = jesd204b_clk_recalc_rate,
231-
.enable = jesd204b_clk_enable,
232-
.disable = jesd204b_clk_disable,
233-
.is_enabled = jesd204b_clk_is_enabled,
234-
};
235-
236206
/* Match table for of_platform binding */
237207
static const struct of_device_id jesd204b_of_match[] = {
238208
{ .compatible = "xlnx,jesd204-5.1",},

0 commit comments

Comments
 (0)