]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Convert CMA fbdev console suspend helpers to use bool
authorLiviu Dudau <Liviu.Dudau@arm.com>
Tue, 20 Jun 2017 10:23:20 +0000 (11:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Jun 2017 14:23:40 +0000 (16:23 +0200)
commitc19adbee6d5d3601dc29780a210a866c663ff68b
tree9f6beda4b74d9d3313720b893fdb146a87de8a16
parent9440a2b4d0bed46c219239d93cf67ee04c285136
drm: Convert CMA fbdev console suspend helpers to use bool

drm_fbdev_cma_set_suspend{,_unlocked} use an integer parameter
to describe whether the intended state is a suspend or a resume.
It then passes the value to drm_fb_helper_set_suspend{,_unlocked}
which uses a boolean. Switch to using bool everywhere.

Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170620102320.8849-1-Liviu.Dudau@arm.com
drivers/gpu/drm/drm_fb_cma_helper.c
include/drm/drm_fb_cma_helper.h