OSDN Git Service

drm: simplify the return expression of ast_drm_resume()
authorMinghao Chi <chi.minghao@zte.com.cn>
Thu, 5 May 2022 02:22:08 +0000 (02:22 +0000)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 5 May 2022 07:18:54 +0000 (09:18 +0200)
commit0e1759b60ffeff949ea18c831b22822527bd6ad7
tree3a1a960fae56b73b5764593bd6058a0aa450812c
parent931e3f3a0e997c41eafbc88e4fc07ba9fef28f29
drm: simplify the return expression of ast_drm_resume()

Simplify the return expression.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220505022208.57157-1-chi.minghao@zte.com.cn
drivers/gpu/drm/ast/ast_drv.c