drm: Drop crtc argument from __drm_atomic_helper_crtc_destroy_state
[deliverable/linux.git] / drivers / gpu / drm / tegra / dc.c
index 3b85a31b625dad9f646a8d87dd6a61262bd9a2ce..39902bbfb3ce87aedc650b27b59d9f8dc3228904 100644 (file)
@@ -998,7 +998,7 @@ static void tegra_crtc_reset(struct drm_crtc *crtc)
        struct tegra_dc_state *state;
 
        if (crtc->state)
-               __drm_atomic_helper_crtc_destroy_state(crtc, crtc->state);
+               __drm_atomic_helper_crtc_destroy_state(crtc->state);
 
        kfree(crtc->state);
        crtc->state = NULL;
@@ -1034,7 +1034,7 @@ tegra_crtc_atomic_duplicate_state(struct drm_crtc *crtc)
 static void tegra_crtc_atomic_destroy_state(struct drm_crtc *crtc,
                                            struct drm_crtc_state *state)
 {
-       __drm_atomic_helper_crtc_destroy_state(crtc, state);
+       __drm_atomic_helper_crtc_destroy_state(state);
        kfree(state);
 }
 
This page took 0.026723 seconds and 5 git commands to generate.