]> git.baikalelectronics.ru Git - kernel.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)
commita0cc874121af92826ff5264e7987360b2bc6c67a
tree52c016d0c4cc773bf88cacdede9ef8a6dcf67479
parent9cbad3e6ddebe6e8d8f986be528001e24f50979e
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