OSDN Git Service

drm/tegra: dc: Remove unused callbacks
authorThierry Reding <treding@nvidia.com>
Wed, 28 Jan 2015 14:10:48 +0000 (15:10 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 16:49:21 +0000 (18:49 +0200)
The ->mode_set() and ->mode_set_base() callbacks are no longer used with
full atomic mode-setting drivers, so remove them.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c

index e892f8c..1ec24c3 100644 (file)
@@ -1289,9 +1289,7 @@ static void tegra_crtc_atomic_flush(struct drm_crtc *crtc)
 static const struct drm_crtc_helper_funcs tegra_crtc_helper_funcs = {
        .disable = tegra_crtc_disable,
        .mode_fixup = tegra_crtc_mode_fixup,
-       .mode_set = drm_helper_crtc_mode_set,
        .mode_set_nofb = tegra_crtc_mode_set_nofb,
-       .mode_set_base = drm_helper_crtc_mode_set_base,
        .prepare = tegra_crtc_prepare,
        .commit = tegra_crtc_commit,
        .atomic_check = tegra_crtc_atomic_check,