Commit 77365911 authored by Carlos Palminha's avatar Carlos Palminha Committed by Daniel Vetter

drm/i2c/sil164: removed unnecessary code, mode_fixup is now optional.

Removed dummy mode_fixup.
Signed-off-by: default avatarCarlos Palminha <palminha@synopsys.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1455118167-12178-2-git-send-email-palminha@synopsys.com
parent b7172119
...@@ -252,14 +252,6 @@ sil164_encoder_restore(struct drm_encoder *encoder) ...@@ -252,14 +252,6 @@ sil164_encoder_restore(struct drm_encoder *encoder)
priv->saved_slave_state); priv->saved_slave_state);
} }
static bool
sil164_encoder_mode_fixup(struct drm_encoder *encoder,
const struct drm_display_mode *mode,
struct drm_display_mode *adjusted_mode)
{
return true;
}
static int static int
sil164_encoder_mode_valid(struct drm_encoder *encoder, sil164_encoder_mode_valid(struct drm_encoder *encoder,
struct drm_display_mode *mode) struct drm_display_mode *mode)
...@@ -347,7 +339,6 @@ static const struct drm_encoder_slave_funcs sil164_encoder_funcs = { ...@@ -347,7 +339,6 @@ static const struct drm_encoder_slave_funcs sil164_encoder_funcs = {
.dpms = sil164_encoder_dpms, .dpms = sil164_encoder_dpms,
.save = sil164_encoder_save, .save = sil164_encoder_save,
.restore = sil164_encoder_restore, .restore = sil164_encoder_restore,
.mode_fixup = sil164_encoder_mode_fixup,
.mode_valid = sil164_encoder_mode_valid, .mode_valid = sil164_encoder_mode_valid,
.mode_set = sil164_encoder_mode_set, .mode_set = sil164_encoder_mode_set,
.detect = sil164_encoder_detect, .detect = sil164_encoder_detect,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment