From: Sakari Ailus Date: Wed, 9 Apr 2025 10:33:44 +0000 (+0300) Subject: drm/nouveau/disp: Use dev->dev to get the device X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6b93bfa5d1eba452e494d3a05d6bef65bc569b7;p=thirdparty%2Flinux.git drm/nouveau/disp: Use dev->dev to get the device The local variable dev points to drm->dev already, use dev directly. Link: https://lore.kernel.org/r/20250409103344.3661603-1-sakari.ailus@linux.intel.com Signed-off-by: Sakari Ailus Signed-off-by: Danilo Krummrich --- diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index add006fc8d818..c50ec347b30a9 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c @@ -495,7 +495,7 @@ nouveau_display_hpd_work(struct work_struct *work) if (first_changed_connector) drm_connector_put(first_changed_connector); - pm_runtime_mark_last_busy(drm->dev->dev); + pm_runtime_mark_last_busy(dev->dev); noop: pm_runtime_put_autosuspend(dev->dev); }