[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260128103118.3630078-3-arnaud.pouliquen@foss.st.com>
Date: Wed, 28 Jan 2026 11:31:18 +0100
From: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
To: Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier
<mathieu.poirier@...aro.org>
CC: <linux-remoteproc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>, Andrew Davis <afd@...com>,
<arnaud.pouliquen@...s.st.com>
Subject: [PATCH v2 2/2] remoteproc: keystone: use RPROC_ALIAS definition
The RPROC_ALIAS definition was introduced in remoteproc.h.
Reuse it for of_alias_get_id()to to align alias handling across
the code.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@...s.st.com>
---
drivers/remoteproc/keystone_remoteproc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/remoteproc/keystone_remoteproc.c b/drivers/remoteproc/keystone_remoteproc.c
index 4d6550b48567..cf8288d17afd 100644
--- a/drivers/remoteproc/keystone_remoteproc.c
+++ b/drivers/remoteproc/keystone_remoteproc.c
@@ -378,7 +378,7 @@ static int keystone_rproc_probe(struct platform_device *pdev)
return -ENODEV;
}
- dsp_id = of_alias_get_id(np, "rproc");
+ dsp_id = of_alias_get_id(np, RPROC_ALIAS);
if (dsp_id < 0) {
dev_warn(dev, "device does not have an alias id\n");
return dsp_id;
--
2.43.0
Powered by blists - more mailing lists