drm: armada: remove dead empty functions
The redundant fb helpers .gamma_set and .gamma_get are no longer used. Remove the dead code. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20170713162538.22788-6-peda@axentia.se
This commit is contained in:
parent
76dd3cd840
commit
3bec23b2c2
@ -334,16 +334,6 @@ static void armada_drm_vblank_off(struct armada_crtc *dcrtc)
|
|||||||
armada_drm_plane_work_run(dcrtc, dcrtc->crtc.primary);
|
armada_drm_plane_work_run(dcrtc, dcrtc->crtc.primary);
|
||||||
}
|
}
|
||||||
|
|
||||||
void armada_drm_crtc_gamma_set(struct drm_crtc *crtc, u16 r, u16 g, u16 b,
|
|
||||||
int idx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void armada_drm_crtc_gamma_get(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
|
|
||||||
int idx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/* The mode_config.mutex will be held for this call */
|
/* The mode_config.mutex will be held for this call */
|
||||||
static void armada_drm_crtc_dpms(struct drm_crtc *crtc, int dpms)
|
static void armada_drm_crtc_dpms(struct drm_crtc *crtc, int dpms)
|
||||||
{
|
{
|
||||||
|
@ -102,8 +102,6 @@ struct armada_crtc {
|
|||||||
};
|
};
|
||||||
#define drm_to_armada_crtc(c) container_of(c, struct armada_crtc, crtc)
|
#define drm_to_armada_crtc(c) container_of(c, struct armada_crtc, crtc)
|
||||||
|
|
||||||
void armada_drm_crtc_gamma_set(struct drm_crtc *, u16, u16, u16, int);
|
|
||||||
void armada_drm_crtc_gamma_get(struct drm_crtc *, u16 *, u16 *, u16 *, int);
|
|
||||||
void armada_drm_crtc_update_regs(struct armada_crtc *, struct armada_regs *);
|
void armada_drm_crtc_update_regs(struct armada_crtc *, struct armada_regs *);
|
||||||
|
|
||||||
void armada_drm_crtc_plane_disable(struct armada_crtc *dcrtc,
|
void armada_drm_crtc_plane_disable(struct armada_crtc *dcrtc,
|
||||||
|
@ -117,8 +117,6 @@ static int armada_fb_probe(struct drm_fb_helper *fbh,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const struct drm_fb_helper_funcs armada_fb_helper_funcs = {
|
static const struct drm_fb_helper_funcs armada_fb_helper_funcs = {
|
||||||
.gamma_set = armada_drm_crtc_gamma_set,
|
|
||||||
.gamma_get = armada_drm_crtc_gamma_get,
|
|
||||||
.fb_probe = armada_fb_probe,
|
.fb_probe = armada_fb_probe,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user