diff options
author | Ryder Lee <[email protected]> | 2017-08-10 14:34:57 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-08-30 08:23:57 -0500 |
commit | 1eacd7b84e0413f55fbc0c61874f745cc5e2ed9e (patch) | |
tree | 0ffa757d3ee524b5dd499b9e9a1061b28de1e323 /tools/perf/util/trace-event-scripting.c | |
parent | c681c93067b8484381653dee0fc79a6d81be7050 (diff) |
PCI: mediatek: Switch to use platform_get_resource_byname()
This is a transitional patch. We currently use platfarm_get_resource() for
retrieving the IOMEM resources, but there might be some chips don't have
subsys/shared registers part, which depends on platform design, and these
will be introduced in further patches.
Switch this function to use the platform_get_resource_byname() so that the
binding can be agnostic of the resource order.
Signed-off-by: Ryder Lee <[email protected]>
Signed-off-by: Honghui Zhang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions