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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user