Re: [PATCH v2 09/57] irqdomain: remoteproc: Switch to of_fwnode_handle()

Mathieu Poirier
2025-03-21T15:52:47Z

On Wed, Mar 19, 2025 at 10:29:02AM +0100, Jiri Slaby (SUSE) wrote:
> of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
> defined of_fwnode_handle(). The former is in the process of being
> removed, so use the latter instead.
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
> Cc: Bjorn Andersson <andersson@kernel.org>
> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
> Cc: linux-remoteproc@vger.kernel.org
> ---
> drivers/remoteproc/pru_rproc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/remoteproc/pru_rproc.c b/drivers/remoteproc/pru_rproc.c
> index 1656574b7317..4a4eb9c0b133 100644
> --- a/drivers/remoteproc/pru_rproc.c
> +++ b/drivers/remoteproc/pru_rproc.c
> @@ -563,7 +563,7 @@ static int pru_handle_intrmap(struct rproc *rproc)
> return -ENODEV;
> }
>
> - fwspec.fwnode = of_node_to_fwnode(irq_parent);
> + fwspec.fwnode = of_fwnode_handle(irq_parent);

Applied.

Thanks,
Mathieu

> fwspec.param_count = 3;
> for (i = 0; i < pru->evt_count; i++) {
> fwspec.param[0] = rsc->pru_intc_map[i].event;
> --
> 2.49.0
>