[PATCH 10/52] drm/cirrus: Use drmm_add_final_kfree

Gerd Hoffmann kraxel at redhat.com
Mon Feb 24 08:13:36 UTC 2020


On Wed, Feb 19, 2020 at 11:20:40AM +0100, Daniel Vetter wrote:
> With this we can drop the final kfree from the release function.
> 
> I also noticed that cirrus forgot to call drm_dev_fini().
> 
> v2: Don't call kfree(cirrus) after we've handed overship of that to
> drm_device and the drmm_ stuff.

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the dri-devel mailing list