Re: [PATCH v6 00/13] clk: hisilicon: Migrate devm APIs

From: Stephen Boyd
Date: Mon Dec 18 2023 - 01:42:36 EST


Quoting David Yang (2023-07-31 05:18:00)
> Migrate devm APIs for HiSilicon clock drivers and remove redundant codes.
>
> This series is a partial improvement of [1]
>
> v2: fix test robot error
> v3:
> * size_t for all these num types
> * hisi_clk_unregister() change into separate patch
> * keep relevant header inclusions
> * split driver files changes into separate patches
> * explain hisi_clk_register_fn() checkpatch warnings
> * not fixed: MODULE_LICENSE("GPL v2"), as stated in SPDX-License-Identifier
> * not fixed: "hisilicon,hip04-clock" un-documented, as none of dts files in
> arch/ use it, better to ask hisi people why they pushed this driver
> v4:
> * typo: hisi_clocks_get_nr() should check clks->nr first
> * unexport hisi_clk_unregister_fn() as no one use them outside
> v5: catch up with remove_new refactoring
> v6: fix compilation error and expand macros

This needs to be resent. Sorry. Use mod_devicetable.h instead of
of_device.h please and fix compilation errors.