diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-02 13:50:28 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-07-07 11:12:03 +0200 |
commit | 1728bf6402c3d17da9271b98c5118f9448062ae9 (patch) | |
tree | 8ecae664b51dce517f3b938e20f1ad7746d1c469 /drivers/gpu/drm/ast/ast_mode.c | |
parent | c35da0ed48c76512c46e831ff42534646eb34f1a (diff) | |
download | lwn-1728bf6402c3d17da9271b98c5118f9448062ae9.tar.gz lwn-1728bf6402c3d17da9271b98c5118f9448062ae9.zip |
drm/ast: Use managed mode-config init
Using drmm_mode_config_init() sets up managed release of modesetting
resources. The existing modesetting's finalizer is empty, so remove it.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200702115029.5281-14-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/ast/ast_mode.c')
-rw-r--r-- | drivers/gpu/drm/ast/ast_mode.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c index 43c9686ba0f7..33b4b6f3e394 100644 --- a/drivers/gpu/drm/ast/ast_mode.c +++ b/drivers/gpu/drm/ast/ast_mode.c @@ -1110,10 +1110,6 @@ int ast_mode_init(struct drm_device *dev) return 0; } -void ast_mode_fini(struct drm_device *dev) -{ -} - static int get_clock(void *i2c_priv) { struct ast_i2c_chan *i2c = i2c_priv; |