diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2026-10-13 17:18:32 +0200 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2026-10-13 17:51:35 +0200 |
| commit | dfd4ce487c16efc69efa8660f44638b05c10a828 (patch) | |
| tree | 47c45f7d8e821b8d7a3958ec28b79d83daa787ef /drivers | |
| parent | 41eb191bcd8fc1842d385327c21e75a4714749af (diff) | |
| parent | b847099fdcc855b04b017a67bd6d3097ce277175 (diff) | |
| download | linux-next-dfd4ce487c16efc69efa8660f44638b05c10a828.tar.gz linux-next-dfd4ce487c16efc69efa8660f44638b05c10a828.zip | |
Merge tag 'at91-soc-7.4' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/arm
Microchip AT91 SoC updates for v7.4
This update includes:
- replace __ASSEMBLY__ with __ASSEMBLER__ to avoid confusion
- use of_machine_device_match() instead of open-coding it
* tag 'at91-soc-7.4' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
soc: atmel: Convert to of_machine_device_match()
ARM: at91: Replace __ASSEMBLY__ with __ASSEMBLER__
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/soc/atmel/soc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/soc/atmel/soc.c b/drivers/soc/atmel/soc.c index d89f9dcade7d..7e60c5681ad0 100644 --- a/drivers/soc/atmel/soc.c +++ b/drivers/soc/atmel/soc.c @@ -404,9 +404,7 @@ static const struct of_device_id at91_soc_allowed_list[] __initconst = { static int __init atmel_soc_device_init(void) { - struct device_node *np __free(device_node) = of_find_node_by_path("/"); - - if (!of_match_node(at91_soc_allowed_list, np)) + if (!of_machine_device_match(at91_soc_allowed_list)) return 0; at91_soc_init(socs); |
