drm/vc4: v3d: Switch to devm_pm_runtime_enable
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:39 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:13 +0000 (10:46 +0200)
commit887ddf3251928dc39bfc58c5c62083d38a633c14
tree77d21b0c59bde0ca1d84b00878fb7842e6e2cd69
parent266cff37d7fcec0443e720878242cb52d728138b
drm/vc4: v3d: 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-70-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_v3d.c