]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/vc4: vec: Switch to devm_pm_runtime_enable
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:31 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:12 +0000 (10:46 +0200)
commit4e06fd9c7c8a2815c63ff132fd392d76e42436e9
tree52c016d0c4cc773bf88cacdede9ef8a6dcf67479
parentf0601ef8631ceeab10c7af69b248fc106e0ecf09
drm/vc4: vec: Switch to devm_pm_runtime_enable

devm_pm_runtime_enable() simplifies the driver a bit since it will call
pm_runtime_disable() automatically through a device-managed action.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220711173939.1132294-62-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_vec.c