On Do, 2023-07-06 at 11:27 +0200, Uwe Kleine-König wrote: > The struct imx_lcdc driver data is allocated using devm_drm_dev_alloc() > so it must not be explicitly kfree()d. > > Also drm_kms_helper_poll_fini() should not be called as there is no > matching drm_kms_helper_poll_init(). So drop the release function > completely. > > Fixes: c87e859cdeb5 ("drm/imx/lcdc: Implement DRM driver for imx25") > Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> regards Philipp