drm/vc4: kms: Switch to drmm_add_action_or_reset
authorMaxime Ripard <maxime@cerno.tech>
Thu, 5 Nov 2020 13:56:50 +0000 (14:56 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 19 Nov 2020 13:44:33 +0000 (14:44 +0100)
commit3c354ed1c43dabbdaae8569f982cdcccfdecd6a8
tree913ae5ee00478e592d691ec9173299635624d8af
parent57fb32e632be4d406b4594829e3befdae1100c12
drm/vc4: kms: Switch to drmm_add_action_or_reset

Even though it was pointed in the review by Daniel, and I thought to have
fixed it while applying the patches, but it turns out I forgot to commit
the fixes in the process. Properly fix it this time.

Fixes: dcda7c28bff2 ("drm/vc4: kms: Add functions to create the state objects")
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105135656.383350-2-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c