]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: vbios: replace pci::Device with device::Device
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 8 Aug 2025 02:46:41 +0000 (11:46 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Mon, 1 Sep 2025 13:23:21 +0000 (22:23 +0900)
commitdff11511d1967b9fd82a5b4b60cf5045eaa545b6
treed2f5367f7c61bfe0d2dc0bf3ba3a30bb4ce8bdbf
parent09f90256e8902793f594517ef440698585eb3595
gpu: nova-core: vbios: replace pci::Device with device::Device

The passed pci::Device is exclusively used for logging purposes, so it
can be replaced by a regular device::Device, which allows us to remove
the `as_ref()` indirections at each logging site.

Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://lore.kernel.org/r/20250808-vbios_device-v1-1-834bbbab6471@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/vbios.rs