From: David Yang <mmyangfl@gmail.com>
To: linux-clk@vger.kernel.org
Cc: Yang Xiwen <forbidden405@outlook.com>,
David Yang <mmyangfl@gmail.com>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-kernel@vger.kernel.org
Subject: [PATCH v7 04/13] clk: hisilicon: Remove hisi_crg_funcs
Date: Sun, 25 Feb 2024 14:52:19 +0800 [thread overview]
Message-ID: <20240225065234.413687-5-mmyangfl@gmail.com> (raw)
In-Reply-To: <20240225065234.413687-1-mmyangfl@gmail.com>
After refactor, no one use hisi_crg_funcs.
Signed-off-by: David Yang <mmyangfl@gmail.com>
---
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
next prev parent reply other threads:[~2024-02-25 6:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-25 6:52 [PATCH v7 00/13] clk: hisilicon: Migrate devm APIs David Yang
2024-02-25 6:52 ` [PATCH v7 01/13] clk: hisilicon: Add helper functions for platform driver David Yang
2024-02-25 11:56 ` Yang Xiwen
2024-02-25 12:50 ` Yangfl
2024-02-25 6:52 ` [PATCH v7 02/13] clk: hisilicon: hi3516cv300: Use helper functions David Yang
2024-02-25 6:52 ` [PATCH v7 03/13] clk: hisilicon: hi3798cv200: " David Yang
2024-02-25 6:52 ` David Yang [this message]
2024-02-25 6:52 ` [PATCH v7 05/13] clk: hisilicon: hi3519: " David Yang
2024-02-25 6:52 ` [PATCH v7 06/13] clk: hisilicon: hi3559a: " David Yang
2024-02-25 6:52 ` [PATCH v7 07/13] clk: hisilicon: hi3660: Convert into module David Yang
2024-02-25 6:52 ` [PATCH v7 08/13] clk: hisilicon: hi3670: " David Yang
2024-02-25 6:52 ` [PATCH v7 09/13] clk: hisilicon: hi3620: Convert into platform driver module David Yang
2024-02-25 6:52 ` [PATCH v7 10/13] clk: hisilicon: hi6220: " David Yang
2024-02-25 6:52 ` [PATCH v7 11/13] clk: hisilicon: hip04: " David Yang
2024-02-25 6:52 ` [PATCH v7 12/13] clk: hisilicon: hix5hd2: " David Yang
2024-02-25 6:52 ` [PATCH v7 13/13] clk: hisilicon: Migrate devm APIs David Yang
2024-04-11 6:50 ` [PATCH v7 00/13] " Stephen Boyd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240225065234.413687-5-mmyangfl@gmail.com \
--to=mmyangfl@gmail.com \
--cc=forbidden405@outlook.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox