Re: [PATCH 3/4] clk: qcom: convert drivers over to use subsys_platform_driver()
From: Brian Masney
Date: Wed Sep 09 2026 - 09:13:29 EST
On Wed, Sep 09, 2026 at 02:45:21PM +0300, Abel Vesa wrote:
> On 26-09-08 13:47:20, Brian Masney wrote:
> > Reduce boilerplate code in the drivers and convert them over to use
> > subsys_platform_driver().
> >
> > Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
> > Assisted-by: Claude:claude-opus-4-8
>
> Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>
Thanks!
I forgot to mention in my commit description that I didn't convert
three Qualcomm clk drivers since they register two different drivers
in the same file:
drivers/clk/qcom/lpassaudiocc-sc7280.c:subsys_initcall(lpass_audio_cc_sc7280_init);
drivers/clk/qcom/lpasscorecc-sc7180.c:subsys_initcall(lpass_sc7180_init);
drivers/clk/qcom/lpasscorecc-sc7280.c:subsys_initcall(lpass_core_cc_sc7280_init);
Now whether or not they should be registered this early in the boot is a
separate discussion.
Brian