summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ast/ast_mode.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2020-07-02 13:50:25 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2020-07-07 11:11:51 +0200
commit3e9d787371eaa842682bf4fc86ae9475548d9cee (patch)
treec95e71d976d7614acbabc9d8d52d0d9395c2b50d /drivers/gpu/drm/ast/ast_mode.c
parent0d384eec10ea723f39df9736a04966e047850cfb (diff)
downloadlwn-3e9d787371eaa842682bf4fc86ae9475548d9cee.tar.gz
lwn-3e9d787371eaa842682bf4fc86ae9475548d9cee.zip
drm/ast: Managed cursor release
Register a release function to finalize cursors. The _fini() function gets un-exported from the source file. The function ast_mode_fini() is now empty and will be removed by a later patch. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20200702115029.5281-11-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
-rw-r--r--drivers/gpu/drm/ast/ast_mode.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c
index 8fdc46401814..4724a38c001a 100644
--- a/drivers/gpu/drm/ast/ast_mode.c
+++ b/drivers/gpu/drm/ast/ast_mode.c
@@ -1108,9 +1108,6 @@ int ast_mode_init(struct drm_device *dev)
void ast_mode_fini(struct drm_device *dev)
{
- struct ast_private *ast = to_ast_private(dev);
-
- ast_cursor_fini(ast);
}
static int get_clock(void *i2c_priv)