]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqdomain: remoteproc: Switch to of_fwnode_handle()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Mar 2025 09:29:02 +0000 (10:29 +0100)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Fri, 21 Mar 2025 15:37:22 +0000 (09:37 -0600)
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
Link: https://lore.kernel.org/r/20250319092951.37667-10-jirislaby@kernel.org
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/pru_rproc.c

index 1656574b73175aca4e6f69d02606213a0140d5b9..4a4eb9c0b13354fee9803d38d09216fa28ad1c4e 100644 (file)
@@ -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);
        fwspec.param_count = 3;
        for (i = 0; i < pru->evt_count; i++) {
                fwspec.param[0] = rsc->pru_intc_map[i].event;