[PATCH v2 0/4] clk: hisilicon: Migrate devm APIs
From: David Yang
Date: Wed Mar 29 2023 - 03:52:11 EST
Migrate devm APIs for HiSilicon clock drivers and remove redundant codes.
This series is a partial improvement of [1]
v2: fix test robot error
Links:
[1]: https://lore.kernel.org/r/20230322164201.2454771-1-mmyangfl@xxxxxxxxx
v1: https://lore.kernel.org/r/20230326052757.297551-1-mmyangfl@xxxxxxxxx
David Yang (4):
clk: hisilicon: Add helper functions for platform driver
clk: hisilicon: Use helper functions
clk: hisilicon: Convert to platform driver
clk: hisilicon: Migrate devm APIs
drivers/clk/hisilicon/clk-hi3519.c | 134 +------
drivers/clk/hisilicon/clk-hi3559a.c | 253 +++----------
drivers/clk/hisilicon/clk-hi3620.c | 215 +++++------
drivers/clk/hisilicon/clk-hi3660.c | 207 ++++-------
drivers/clk/hisilicon/clk-hi3670.c | 270 +++++---------
drivers/clk/hisilicon/clk-hi6220-stub.c | 9 +-
drivers/clk/hisilicon/clk-hi6220.c | 230 ++++++------
drivers/clk/hisilicon/clk-hip04.c | 41 ++-
drivers/clk/hisilicon/clk-hisi-phase.c | 13 +-
drivers/clk/hisilicon/clk-hix5hd2.c | 96 +++--
drivers/clk/hisilicon/clk.c | 429 +++++++++++-----------
drivers/clk/hisilicon/clk.h | 147 +++++---
drivers/clk/hisilicon/clkdivider-hi6220.c | 24 +-
drivers/clk/hisilicon/clkgate-separated.c | 26 +-
drivers/clk/hisilicon/crg-hi3516cv300.c | 177 +--------
drivers/clk/hisilicon/crg-hi3798cv200.c | 206 ++---------
drivers/clk/hisilicon/crg.h | 11 +-
drivers/clk/hisilicon/reset.c | 47 ++-
18 files changed, 973 insertions(+), 1562 deletions(-)
base-commit: fff5a5e7f528b2ed2c335991399a766c2cf01103
--
2.39.2