Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 6f7e72d4 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Gerrit - the friendly Code Review server
Browse files

ion: Simplify carveout heap base/size retrieval/error handling



Use of_address_to_resource() to get the carveout base and size
in one shot. This also simplifies the error handling by allowing
us to decrement the reference count on the of_node in one place,
as opposed to two places.

Change-Id: I73cbc59fa4732a40308bf47a975c2cbbd6f8dfc2
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 0632b77b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment