]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/vc4: drv: Use managed drm_mode_config_init
authorMaxime Ripard <maxime@cerno.tech>
Thu, 29 Oct 2020 19:01:00 +0000 (20:01 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 2 Nov 2020 11:12:07 +0000 (12:12 +0100)
commite46e5330d13de67de5b614c5021730e9709de975
treec8d6fb7abece67664c7779ef62a2c8dcc0e1b4d1
parent1c80be48c70a2198f7cf04a546b3805b92293ac6
drm/vc4: drv: Use managed drm_mode_config_init

Using drmm_mode_config_init instead of drm_mode_config_init allows us to
cleanup a bit the error path.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201029190104.2181730-2-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.c