OSDN Git Service

drm/tidss: Make use of the helper macro SET_RUNTIME_PM_OPS()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 7 Sep 2021 03:35:26 +0000 (11:35 +0800)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 10 Nov 2021 11:51:26 +0000 (13:51 +0200)
commit6e120594631fdcfd83e5e0a1351730dae46d9d24
treebe8180ed1860f54b2e902c00229cee5b517ffce8
parent1f366c6856e942f61d4ecef709ac952c8dc58d23
drm/tidss: 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 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/20210907033526.1612-1-caihuoqing@baidu.com
drivers/gpu/drm/tidss/tidss_drv.c