diff options
author | Philipp Stanner <pstanner@redhat.com> | 2023-12-22 12:52:17 +0100 |
---|---|---|
committer | Jyri Sarha <jyri.sarha@iki.fi> | 2023-12-28 19:29:04 +0200 |
commit | a196a5166e0812db267281c32fa0724fc5be6582 (patch) | |
tree | 566dd565cd9dd266e30218b6a89107b26e0e5956 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 021a81e7ac8f579b049e5bc76efabd9e67bd627c (diff) |
drm/tilcdc: request and mapp iomem with devres
tilcdc currently just ioremaps its iomem, without doing the (a bit more
robust) request on the memory first. The devm_ functions provide a handy
way to both request and ioremap the memory with automatic cleanup.
Replace the manual ioremap with the devm_ version.
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Reviewed-by: Jyri Sarha <jyri.sarha@iki.fi>
Tested-by: Jyri Sarha <jyri.sarha@iki.fi>
Signed-off-by: Jyri Sarha <jyri.sarha@iki.fi>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222115216.19218-2-pstanner@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions