diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2025-07-03 13:35:07 -0500 |
---|---|---|
committer | Andrew Jeffery <andrew@codeconstruct.com.au> | 2025-08-11 09:37:53 +0930 |
commit | c5313eea3e623c81ecf7dd8fe09e6ccf904e4a36 (patch) | |
tree | 6516d1c5a6ecf7715c5001c4f77293f31629161f /rust/helpers/signal.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
soc: aspeed: Use of_reserved_mem_region_to_resource() for "memory-region"
Use the newly added of_reserved_mem_region_to_resource() function to
handle "memory-region" properties.
The error handling is a bit different. "memory-region" is optional, so
failed lookup is not an error. But then an error in
of_address_to_resource() is treated as an error. However, that
distinction is not really important. Either the region is available
and usable or it is not. So now, it is just
of_reserved_mem_region_to_resource() which is checked for an error.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250703183508.2074735-1-robh@kernel.org
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions