diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-15 09:39:48 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-28 15:44:05 +0200 |
commit | 14877bc715973d145d977e6054d5d2b6468ff460 (patch) | |
tree | 0d79e9db25c110814a0b8186dcf3597d7c73b2ed /drivers/gpu/drm/tiny/Kconfig | |
parent | 6ae355a260d25d2bd465f89d1668300aaa9fec4c (diff) |
drm/st7735r: Use devm_drm_dev_alloc
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 ...
Acked-by: David Lechner <david@lechnology.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: David Lechner <david@lechnology.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-14-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/tiny/Kconfig')
0 files changed, 0 insertions, 0 deletions