diff options
author | Thierry Reding <treding@nvidia.com> | 2014-12-10 06:30:01 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-10 07:51:39 -0500 |
commit | e6966da2ac1d4b7e52772378f0292255ea92617c (patch) | |
tree | d28deeb017cc772dbd355774dbca91ebdc4fb59e | |
parent | 6f6f0929e2d86779c6fe796495d4f73b026128f8 (diff) |
drm/sti: Remove dummy ->load_lut() implementation
The ->load_lut() callback is optional, therefore a dummy implementation
is not needed.
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/sti/sti_drm_crtc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/sti/sti_drm_crtc.c b/drivers/gpu/drm/sti/sti_drm_crtc.c index 36a1ad3c4823..70e6e97a850e 100644 --- a/drivers/gpu/drm/sti/sti_drm_crtc.c +++ b/drivers/gpu/drm/sti/sti_drm_crtc.c | |||
@@ -184,11 +184,6 @@ out: | |||
184 | return ret; | 184 | return ret; |
185 | } | 185 | } |
186 | 186 | ||
187 | static void sti_drm_crtc_load_lut(struct drm_crtc *crtc) | ||
188 | { | ||
189 | /* do nothing */ | ||
190 | } | ||
191 | |||
192 | static void sti_drm_crtc_disable(struct drm_crtc *crtc) | 187 | static void sti_drm_crtc_disable(struct drm_crtc *crtc) |
193 | { | 188 | { |
194 | struct sti_mixer *mixer = to_sti_mixer(crtc); | 189 | struct sti_mixer *mixer = to_sti_mixer(crtc); |
@@ -243,7 +238,6 @@ static struct drm_crtc_helper_funcs sti_crtc_helper_funcs = { | |||
243 | .mode_fixup = sti_drm_crtc_mode_fixup, | 238 | .mode_fixup = sti_drm_crtc_mode_fixup, |
244 | .mode_set = sti_drm_crtc_mode_set, | 239 | .mode_set = sti_drm_crtc_mode_set, |
245 | .mode_set_base = sti_drm_crtc_mode_set_base, | 240 | .mode_set_base = sti_drm_crtc_mode_set_base, |
246 | .load_lut = sti_drm_crtc_load_lut, | ||
247 | .disable = sti_drm_crtc_disable, | 241 | .disable = sti_drm_crtc_disable, |
248 | }; | 242 | }; |
249 | 243 | ||