[PATCH 17/44] drm/st7735r: Use devm_drm_dev_alloc

David Lechner david at lechnology.com
Fri Apr 3 17:00:45 UTC 2020


On 4/3/20 8:58 AM, Daniel Vetter wrote:
> Already using devm_drm_dev_init, so very simple replacment.
> 
> Aside: There was an oddity in the old code, we allocated priv but in
> the error path we've freed priv->dbidev ...
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: David Lechner <david at lechnology.com>
> ---

Acked-by: David Lechner <david at lechnology.com>


More information about the dri-devel mailing list