Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/udl: removed optional dummy encoder mode_fixup function.

mode_fixup function for encoder drivers became optional with patch
http://patchwork.freedesktop.org/patch/msgid/1455106522-32307-1-git-send-email-palminha@synopsys.com

This patch set nukes all the dummy mode_fixup implementations.

(made on top of Daniel topic/drm-misc branch)

Signed-off-by: Carlos Palminha <palminha@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/a7ebfb6c6c333056d0a77d2684c539107ee63589.1455540137.git.palminha@synopsys.com

authored by

Carlos Palminha and committed by
Daniel Vetter
dac290d0 5954d3a1

-8
-8
drivers/gpu/drm/udl/udl_encoder.c
··· 26 26 { 27 27 } 28 28 29 - static bool udl_mode_fixup(struct drm_encoder *encoder, 30 - const struct drm_display_mode *mode, 31 - struct drm_display_mode *adjusted_mode) 32 - { 33 - return true; 34 - } 35 - 36 29 static void udl_encoder_prepare(struct drm_encoder *encoder) 37 30 { 38 31 } ··· 47 54 48 55 static const struct drm_encoder_helper_funcs udl_helper_funcs = { 49 56 .dpms = udl_encoder_dpms, 50 - .mode_fixup = udl_mode_fixup, 51 57 .prepare = udl_encoder_prepare, 52 58 .mode_set = udl_encoder_mode_set, 53 59 .commit = udl_encoder_commit,