Skip to content

Commit d6b93bf

Browse files
Sakari AilusDanilo Krummrich
authored andcommitted
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/[email protected] Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Danilo Krummrich <[email protected]>
1 parent 1174bf1 commit d6b93bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nouveau_display.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ nouveau_display_hpd_work(struct work_struct *work)
495495
if (first_changed_connector)
496496
drm_connector_put(first_changed_connector);
497497

498-
pm_runtime_mark_last_busy(drm->dev->dev);
498+
pm_runtime_mark_last_busy(dev->dev);
499499
noop:
500500
pm_runtime_put_autosuspend(dev->dev);
501501
}

0 commit comments

Comments
 (0)