Messages in this thread | | | From | Miles Chen <> | Subject | Re: [PATCH v2 09/11] clk: mediatek: Switch to clk_hw provider APIs | Date | Sun, 15 May 2022 01:05:37 +0800 |
| |
> As part of the effort to improve the MediaTek clk drivers, the next step > is to switch from the old 'struct clk' clk prodivder APIs to the new > 'struct clk_hw' ones. > > In a previous patch, 'struct clk_onecell_data' was replaced with > 'struct clk_hw_onecell_data', with (struct clk_hw *)->clk and > __clk_get_hw() bridging the new data structures and old code. > > Now switch from the old 'clk_(un)?register*()' APIs to the new > 'clk_hw_(un)?register*()' ones. This is done with the coccinelle script > below. > > ... > > Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
| |