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

Skip to content
Commit d044281e authored by Matt Wagantall's avatar Matt Wagantall Committed by Stephen Boyd
Browse files

msm: pil: Use platform_get_resource_byname() on device-tree targets



Using indexes with platform_get_resource() is error-prone when
the array being indexed is long. Use string names when getting
register bases from device tree instead.

Change-Id: I6543b0f2819f2325719bf1508594a2cb34a548cf
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 26b6c479
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