Re: [PATCH v10 5/7] spmi: pmic-arb: Make core resources acquiring a version operation

From: Stephen Boyd
Date: Fri Apr 19 2024 - 21:48:18 EST


Quoting Abel Vesa (2024-04-17 13:00:57)
> Rather than setting up the core, obsrv and chnls in probe by using
> version specific conditionals, add a dedicated "get_core_resources"
> version specific op and move the acquiring in there. Since there are
> no current users of the second bus yet, drop the comment about why
> devm_platform_ioremap_resource can't be used in case of "core",
> as it is not applicable anymore.
> Don't switch to devm_platform_ioremap_resource though as we need
> to keep track of core size.
>
> Reviewed-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxx>
> ---

Applied to spmi-next