diff options
-rw-r--r-- | drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c index 39802c0539b6..473a475f27b1 100644 --- a/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c +++ b/drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | |||
@@ -113,21 +113,9 @@ static int atmel_hlcdc_rgb_mode_valid(struct drm_connector *connector, | |||
113 | return atmel_hlcdc_dc_mode_valid(rgb->dc, mode); | 113 | return atmel_hlcdc_dc_mode_valid(rgb->dc, mode); |
114 | } | 114 | } |
115 | 115 | ||
116 | |||
117 | |||
118 | static struct drm_encoder * | ||
119 | atmel_hlcdc_rgb_best_encoder(struct drm_connector *connector) | ||
120 | { | ||
121 | struct atmel_hlcdc_rgb_output *rgb = | ||
122 | drm_connector_to_atmel_hlcdc_rgb_output(connector); | ||
123 | |||
124 | return &rgb->encoder; | ||
125 | } | ||
126 | |||
127 | static const struct drm_connector_helper_funcs atmel_hlcdc_panel_connector_helper_funcs = { | 116 | static const struct drm_connector_helper_funcs atmel_hlcdc_panel_connector_helper_funcs = { |
128 | .get_modes = atmel_hlcdc_panel_get_modes, | 117 | .get_modes = atmel_hlcdc_panel_get_modes, |
129 | .mode_valid = atmel_hlcdc_rgb_mode_valid, | 118 | .mode_valid = atmel_hlcdc_rgb_mode_valid, |
130 | .best_encoder = atmel_hlcdc_rgb_best_encoder, | ||
131 | }; | 119 | }; |
132 | 120 | ||
133 | static enum drm_connector_status | 121 | static enum drm_connector_status |