Re: [PATCH v4] ACPI / amba: Drop unnecessary check for registered amba_dummy_clk
From: Sudeep Holla
Date: Mon Jun 24 2024 - 11:02:41 EST
On Mon, Jun 24, 2024 at 10:31:01AM +0800, Youwan Wang wrote:
> amba_register_dummy_clk() is called only once from acpi_amba_init()
> and acpi_amba_init() itself is called once during the initialisation.
> amba_dummy_clk can't be initialised before this in any other code
> path and hence the check for already registered amba_dummy_clk is
> not necessary. Drop the same.
>
> Signed-off-by: Youwan Wang <youwan@xxxxxxxxxxxx>
> Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx>
> Acked-by: Hanjun Guo <guohanjun@xxxxxxxxxx>
> ---
Hi Catalin,
Can you please pick up this simple cleanup patch under ACPI changes ?
It is very hard to follow the versions as it is messed up, but this
version is good to take though.
--
Regards,
Sudeep