[PATCH v7 04/13] clk: hisilicon: Remove hisi_crg_funcs
From: David Yang
Date: Sun Feb 25 2024 - 01:54:21 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 bd8e76b1f6d7..db2324309d41 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.43.0