Commit 1f168155 authored by Matt Wagantall's avatar Matt Wagantall
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 732258b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment