drm/sti: Remove dummy ->load_lut() implementation
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 11:30:01 +0000 (12:30 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 12:51:39 +0000 (13:51 +0100)
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>
drivers/gpu/drm/sti/sti_drm_crtc.c

index 36a1ad3c482319e288c539bcbf7dfbe27a72074d..70e6e97a850ee15cfd697de44ba67d8ca7569b4b 100644 (file)
@@ -184,11 +184,6 @@ out:
        return ret;
 }
 
-static void sti_drm_crtc_load_lut(struct drm_crtc *crtc)
-{
-       /* do nothing */
-}
-
 static void sti_drm_crtc_disable(struct drm_crtc *crtc)
 {
        struct sti_mixer *mixer = to_sti_mixer(crtc);
@@ -243,7 +238,6 @@ static struct drm_crtc_helper_funcs sti_crtc_helper_funcs = {
        .mode_fixup = sti_drm_crtc_mode_fixup,
        .mode_set = sti_drm_crtc_mode_set,
        .mode_set_base = sti_drm_crtc_mode_set_base,
-       .load_lut = sti_drm_crtc_load_lut,
        .disable = sti_drm_crtc_disable,
 };