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)
commitd0a2987866b6cc1acd3ed37f9cd52e5c8dced005
tree9f6beda4b74d9d3313720b893fdb146a87de8a16
parent4c952eaba7789e0b1f2c146e839fd82c5a290241
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