]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tyr: Use DRM device type alias across driver
authorDeborah Brouwer <deborah.brouwer@collabora.com>
Mon, 2 Mar 2026 20:23:31 +0000 (12:23 -0800)
committerAlice Ryhl <aliceryhl@google.com>
Mon, 9 Mar 2026 09:14:39 +0000 (09:14 +0000)
commitdd8a93dafe6ef50b49d2a7b44862264d74a7aafa
tree8f6c7f92b3966a3b4932300d5f5e2e245de4d9ef
parent17d7c97f73c7a0bd90bd22cd7441269a6f8a1d72
drm/tyr: Use DRM device type alias across driver

Currently Tyr defines a convenience type alias for its DRM device type,
`TyrDrmDevice` but it does not use the alias outside of `tyr/driver.rs`.

Replace `drm::Device<TyrDrmDriver>` with the alias `TyrDrmDevice` across
the driver.

This change will ease future upstream Tyr development by reducing the
diffs when multiple series are touching these files.

No functional changes are intended.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://patch.msgid.link/20260302202331.176140-1-deborah.brouwer@collabora.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
drivers/gpu/drm/tyr/file.rs
drivers/gpu/drm/tyr/gem.rs