drm/lima: separate clk/regulator enable/disable function
authorQiang Yu <yuq825@gmail.com>
Tue, 21 Apr 2020 13:35:49 +0000 (21:35 +0800)
committerQiang Yu <yuq825@gmail.com>
Fri, 24 Apr 2020 12:51:15 +0000 (20:51 +0800)
commit7a475eb470ac482306c9281b2faadf2cbfb6b84c
tree2da170e2242db575f4137649f35a103ad17b88bb
parent3446d7e9883d70882568b0f7b6549835d51a8bc7
drm/lima: separate clk/regulator enable/disable function

For being used by both device init/fini and suspend/resume.

Tested-by: Bhushan Shah <bshah@kde.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-9-yuq825@gmail.com
drivers/gpu/drm/lima/lima_device.c