diff options
| author | Anusha Srivatsa <asrivats@redhat.com> | 2025-03-04 16:05:36 -0500 |
|---|---|---|
| committer | Anusha Srivatsa <asrivats@asrivats-thinkpadt14sgen2i.rmtustx.csb> | 2025-03-06 12:37:53 -0500 |
| commit | fc51acfca9ca2049e0f6bde0ca41f760e081c281 (patch) | |
| tree | b7310f74326314101e86dac1bfff4997cf1ade8c /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 46babeac0e0856ca7d3c68a28328b55867922fe3 (diff) | |
| download | kernel-fc51acfca9ca2049e0f6bde0ca41f760e081c281.tar.gz | |
drm/tegra: move to devm_platform_ioremap_resource() usage
Replace platform_get_resource + devm_ioremap_resource
with just devm_platform_ioremap_resource()
Used Coccinelle to do this change. SmPl patch:
@rule_1@
identifier res;
expression ioremap_res;
identifier pdev;
@@
-struct resource *res;
...
-res = platform_get_resource(pdev,...);
-ioremap_res = devm_ioremap_resource(...);
+ioremap_res = devm_platform_ioremap_resource(pdev,0);
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Link: https://patchwork.freedesktop.org/patch/640855/?series=144073&rev=5
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
