OSDN Git Service

drm/omap: dss: Make use of the helper macro SET_RUNTIME_PM_OPS()
authorCai Huoqing <caihuoqing@baidu.com>
Sat, 28 Aug 2021 08:48:11 +0000 (16:48 +0800)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 10 Nov 2021 11:51:25 +0000 (13:51 +0200)
commitb92f7ea556f8b74ba08cdc27258941e293400050
treef1a4c70270bceaa8dba858be525530680480bb4e
parentb94b7353d7fe819cee61bff805e677f3d30f8e7c
drm/omap: dss: Make use of the helper macro SET_RUNTIME_PM_OPS()

Use the helper macro SET_RUNTIME_PM_OPS() instead of the verbose
operators ".runtime_suspend/.runtime_resume", because the
SET_RUNTIME_PM_OPS() is a nice helper macro that could be brought
in to make code a little clearer, a little more concise.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210828084811.104-1-caihuoqing@baidu.com
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/dss.c
drivers/gpu/drm/omapdrm/dss/venc.c