On Thu, Jul 03, 2025 at 01:34:54PM -0500, Rob Herring (Arm) wrote: > 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_reserved_mem_lookup() 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) <r...@kernel.org> > --- > drivers/misc/fastrpc.c | 19 +++++++------------ > 1 file changed, 7 insertions(+), 12 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@oss.qualcomm.com> > -- With best wishes Dmitry