[PATCH v3 05/14] clk: hisilicon: Remove hisi_crg_funcs

From: David Yang
Date: Mon Apr 10 2023 - 07:09:06 EST


After refactor, no one use hisi_crg_funcs.

Signed-off-by: David Yang <mmyangfl@xxxxxxxxx>
---
drivers/clk/hisilicon/crg.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/drivers/clk/hisilicon/crg.h b/drivers/clk/hisilicon/crg.h
index d9544f1f2625..49142759d63b 100644
--- a/drivers/clk/hisilicon/crg.h
+++ b/drivers/clk/hisilicon/crg.h
@@ -11,15 +11,9 @@
struct hisi_clock_data;
struct hisi_reset_controller;

-struct hisi_crg_funcs {
- struct hisi_clock_data* (*register_clks)(struct platform_device *pdev);
- void (*unregister_clks)(struct platform_device *pdev);
-};
-
struct hisi_crg_dev {
struct hisi_clock_data *clk_data;
struct hisi_reset_controller *rstc;
- const struct hisi_crg_funcs *funcs;
};

/* helper functions for platform driver */
--
2.39.2