Re: [PATCH v1 22/24] power: pmic: add dm style definitions if not CONFIG_IS_ENABLED(POWER_LEGACY)

Simon Glass
2023-02-22T21:25:25Z

On Tue, 21 Feb 2023 at 18:39, Troy Kisky <troykiskyboundary@gmail.com> wrote:
>
> This avoids an error in converting to CONFIG_IS_ENABLED(DM_PMIC).
> Many boards SPL code needs these definitions to compile, even if
> the functions are not linked.
>
> Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com>
> ---
>
> include/power/pmic.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

How about adding a migration deadline for non-DM PMIC?