mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
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 <sakari.ailus@linux.intel.com> Signed-off-by: Danilo Krummrich <dakr@kernel.org>
This commit is contained in:
parent
1174bf15bd
commit
d6b93bfa5d
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user