Commit 6f70ec54 authored by Thierry Reding's avatar Thierry Reding

drm/tegra: dc: Remove tegra_primary_plane_destroy()

This function is a simple wrapper around tegra_plane_destroy(), so it
can be dropped.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 9d99ab6e
...@@ -417,11 +417,6 @@ static const u32 tegra_primary_plane_formats[] = { ...@@ -417,11 +417,6 @@ static const u32 tegra_primary_plane_formats[] = {
DRM_FORMAT_RGB565, DRM_FORMAT_RGB565,
}; };
static void tegra_primary_plane_destroy(struct drm_plane *plane)
{
tegra_plane_destroy(plane);
}
static void tegra_plane_reset(struct drm_plane *plane) static void tegra_plane_reset(struct drm_plane *plane)
{ {
struct tegra_plane_state *state; struct tegra_plane_state *state;
...@@ -466,7 +461,7 @@ static void tegra_plane_atomic_destroy_state(struct drm_plane *plane, ...@@ -466,7 +461,7 @@ static void tegra_plane_atomic_destroy_state(struct drm_plane *plane,
static const struct drm_plane_funcs tegra_primary_plane_funcs = { static const struct drm_plane_funcs tegra_primary_plane_funcs = {
.update_plane = drm_atomic_helper_update_plane, .update_plane = drm_atomic_helper_update_plane,
.disable_plane = drm_atomic_helper_disable_plane, .disable_plane = drm_atomic_helper_disable_plane,
.destroy = tegra_primary_plane_destroy, .destroy = tegra_plane_destroy,
.reset = tegra_plane_reset, .reset = tegra_plane_reset,
.atomic_duplicate_state = tegra_plane_atomic_duplicate_state, .atomic_duplicate_state = tegra_plane_atomic_duplicate_state,
.atomic_destroy_state = tegra_plane_atomic_destroy_state, .atomic_destroy_state = tegra_plane_atomic_destroy_state,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment