diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2017-02-07 17:16:33 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2017-02-09 16:12:01 +0800 |
commit | 55cbc4dfcd1d73d74a2686a60754edf4388c25a2 (patch) | |
tree | 74326b753f56a646ccb7da3b3932dc8d8a715df3 /drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c | |
parent | 10437d9b475e9f41f0d7a679659f1d1eab8987bc (diff) |
drm: tilcdc: use vblank hooks in struct drm_crtc_funcs
The vblank hooks in struct drm_driver are deprecated and only meant for
legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks
in struct drm_crtc_funcs should be used instead.
While at it, the 'return' of .disable_vblank is dropped to fix the
following checkpatch warning.
WARNING: void function return statements are not generally useful
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Jyri Sarha <jsarha@ti.com>
Acked-by: Jyri Sarha <jsarha@ti.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1486458995-31018-22-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c')
0 files changed, 0 insertions, 0 deletions