diff options
| author | Gary Guo <gary@garyguo.net> | 2026-01-23 17:58:44 +0000 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-02-24 15:13:07 +0100 |
| commit | 8d1a65c2defdc4213a49008d0531bd35d26fdf35 (patch) | |
| tree | e7d121009a8265404c3a03106052a3c7aa7c709e /drivers/gpu/nova-core/gpu.rs | |
| parent | ef2964f11e9f24b4681b52161cc37ba1a226d5af (diff) | |
| download | linux-next-8d1a65c2defdc4213a49008d0531bd35d26fdf35.tar.gz linux-next-8d1a65c2defdc4213a49008d0531bd35d26fdf35.zip | |
gpu: nova-core: remove redundant `.as_ref()` for `dev_*` print
This is now handled by the macro itself.
Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260123175854.176735-7-gary@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/gpu/nova-core/gpu.rs')
| -rw-r--r-- | drivers/gpu/nova-core/gpu.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nova-core/gpu.rs b/drivers/gpu/nova-core/gpu.rs index 9b042ef1a308..60c85fffaeaf 100644 --- a/drivers/gpu/nova-core/gpu.rs +++ b/drivers/gpu/nova-core/gpu.rs @@ -262,13 +262,13 @@ impl Gpu { ) -> impl PinInit<Self, Error> + 'a { try_pin_init!(Self { spec: Spec::new(pdev.as_ref(), bar).inspect(|spec| { - dev_info!(pdev.as_ref(),"NVIDIA ({})\n", spec); + dev_info!(pdev,"NVIDIA ({})\n", spec); })?, // We must wait for GFW_BOOT completion before doing any significant setup on the GPU. _: { gfw::wait_gfw_boot_completion(bar) - .inspect_err(|_| dev_err!(pdev.as_ref(), "GFW boot did not complete\n"))?; + .inspect_err(|_| dev_err!(pdev, "GFW boot did not complete\n"))?; }, sysmem_flush: SysmemFlush::register(pdev.as_ref(), bar, spec.chipset)?, |
