diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2017-08-10 14:34:57 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-08-30 08:23:57 -0500 |
commit | 1eacd7b84e0413f55fbc0c61874f745cc5e2ed9e (patch) | |
tree | 0ffa757d3ee524b5dd499b9e9a1061b28de1e323 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <ryder.lee@mediatek.com>
Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions