[PATCH v4] ACPI / amba: Drop unnecessary check for registered amba_dummy_clk

Sudeep Holla sudeep.holla at arm.com
Mon Jun 24 08:02:17 PDT 2024


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 at nfschina.com>
> Acked-by: Sudeep Holla <sudeep.holla at arm.com>
> Acked-by: Hanjun Guo <guohanjun at huawei.com>
> ---

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



More information about the linux-arm-kernel mailing list