diff options
author | 2022-06-23 14:17:01 +0200 | |
---|---|---|
committer | 2022-07-08 10:29:17 +0200 | |
commit | 4d3ddc9bce4b2bfc167d8c2880f34de29b4587c6 (patch) | |
tree | 4abdf6788a88f59f23d7962fa5c050c998573de6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: mediatek: pm-domains: Add support for Helio X10 MT6795 (diff) | |
download | linux-dev-4d3ddc9bce4b2bfc167d8c2880f34de29b4587c6.tar.xz linux-dev-4d3ddc9bce4b2bfc167d8c2880f34de29b4587c6.zip |
soc: mediatek: mutex: Simplify with devm_platform_get_and_ioremap_resource()
Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.
While at it, also remove a redundant call to of_address_to_resource(),
as this was getting the address of the same resource index 0: we can
as well get the iostart from the 'regs' pointer.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220623121701.107512-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions