diff options
| author | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-03-02 17:29:11 +0100 |
|---|---|---|
| committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2026-05-11 09:56:17 +0200 |
| commit | 17e48e7e5f18b45fd4a9411090148aae3b74f7f3 (patch) | |
| tree | 86a7c432bafc851f8433a85f1526b92f3185644f /drivers/soc/renesas | |
| parent | 39abbc2f7a7036af4a59d00e7748961683845c6f (diff) | |
soc: renesas: Convert to of_machine_get_match()
Use the of_machine_get_match() helper to avoid accessing of_root
directly, which is planned to become private.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://patch.msgid.link/10876b30a8bdb7d1cfcc2f23fb859f2ffea335fe.1772468323.git.geert+renesas@glider.be
Diffstat (limited to 'drivers/soc/renesas')
| -rw-r--r-- | drivers/soc/renesas/renesas-soc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c index 60b09020c935..dedb2a0be586 100644 --- a/drivers/soc/renesas/renesas-soc.c +++ b/drivers/soc/renesas/renesas-soc.c @@ -474,7 +474,7 @@ static int __init renesas_soc_init(void) const char *soc_id; int ret; - match = of_match_node(renesas_socs, of_root); + match = of_machine_get_match(renesas_socs); if (!match) return -ENODEV; |
