Den 19.02.2020 11.20, skrev Daniel Vetter:
> They all share mipi_dbi_release so we need to switch them all
> together. With this we can drop the final kfree from the release
> function.
> 
> Aside, I think we could perhaps have a tiny additional helper for
> these mipi_dbi drivers, the first few lines around devm_drm_dev_init
> are all the same (except for the drm_driver pointer).
> 
> Cc: Maarten Lankhorst <maarten.lankho...@linux.intel.com>
> Cc: Maxime Ripard <mrip...@kernel.org>
> Cc: Thomas Zimmermann <tzimmerm...@suse.de>
> Cc: David Airlie <airl...@linux.ie>
> Cc: Daniel Vetter <dan...@ffwll.ch>
> Cc: Eric Anholt <e...@anholt.net>
> Cc: David Lechner <da...@lechnology.com>
> Cc: Kamlesh Gurudasani <kamlesh.gurudas...@gmail.com>
> Cc: "Noralf Trønnes" <nor...@tronnes.org>
> Cc: Sam Ravnborg <s...@ravnborg.org>
> Signed-off-by: Daniel Vetter <daniel.vet...@intel.com>
> ---

I really would have preferred having devm_drm_dev_alloc() in this
series, drmm_add_final_kfree() is rather odd.

But I can wait:
Reviewed-by: Noralf Trønnes <nor...@tronnes.org>

I have tested the whole series on tiny/mi0283qt:
Tested-by: Noralf Trønnes <nor...@tronnes.org>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to