]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: dsi: Switch to devm_pm_runtime_enable
authorMaxime Ripard <maxime@cerno.tech>
Mon, 11 Jul 2022 17:39:06 +0000 (19:39 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 13 Jul 2022 08:46:09 +0000 (10:46 +0200)
commitf0590b9de522fdf00905c9a1a7df212f9325c46b
treeff86ba586b27a0c6c2133d92ea4c8ec928d06db8
parenta670d508f70503af1046a23b05057386690923a9
drm/vc4: dsi: 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-37-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_dsi.c