diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-09-11 14:51:20 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-09-13 16:41:13 +0300 |
commit | 2fc2d1adbd273282eecf2343c2a77a6fb228bd97 (patch) | |
tree | 2d32b0a97f1ca4a18b45bdb00b4beecf0ae3b2b6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e9c37f7b71ac28d32201f8674bd232081d8b071f (diff) | |
download | linux-2fc2d1adbd273282eecf2343c2a77a6fb228bd97.tar.xz |
drm/ast: astdp: Avoid upcasting to struct ast_device
Several functions receive an instance of struct drm_device only to
upcast it to struct ast_device. Improve type safety by passing the
AST device directly.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240911115347.899148-3-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions