summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-truly-nt35597.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-07-27 09:41:27 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2022-07-27 09:41:27 +0200
commit9c7f5cf088789957dcfb460cca1ab0fb578f2376 (patch)
tree6f5f305e5021fe5babb17feaf67be99d0f33e2ba /drivers/gpu/drm/panel/panel-truly-nt35597.c
parent592c718e422de34b4c56ee66d2f02d3726b244ab (diff)
parent5727dcfd8486399c40e39d2c08fe36fedab29d99 (diff)
Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip
# Conflicts: # drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
Diffstat (limited to 'drivers/gpu/drm/panel/panel-truly-nt35597.c')
-rw-r--r--drivers/gpu/drm/panel/panel-truly-nt35597.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/panel/panel-truly-nt35597.c b/drivers/gpu/drm/panel/panel-truly-nt35597.c
index 9ca5c7ff41d6..b31cffb660a7 100644
--- a/drivers/gpu/drm/panel/panel-truly-nt35597.c
+++ b/drivers/gpu/drm/panel/panel-truly-nt35597.c
@@ -616,7 +616,7 @@ err_panel_add:
return ret;
}
-static int truly_nt35597_remove(struct mipi_dsi_device *dsi)
+static void truly_nt35597_remove(struct mipi_dsi_device *dsi)
{
struct truly_nt35597 *ctx = mipi_dsi_get_drvdata(dsi);
@@ -628,7 +628,6 @@ static int truly_nt35597_remove(struct mipi_dsi_device *dsi)
}
drm_panel_remove(&ctx->panel);
- return 0;
}
static const struct of_device_id truly_nt35597_of_match[] = {