diff options
| author | Daniel Vetter <[email protected]> | 2020-03-23 14:49:48 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-03-26 15:09:25 +0000 |
| commit | fe5b7c86d6068ac33df2d46cf3c7a1859c3b84a8 (patch) | |
| tree | 88f6a61f2a9b054a6f90fe8cd6a94b09b50e6e80 /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm/mipi-dbi: Drop explicit drm_mode_config_cleanup call (diff) | |
| download | kernel-fe5b7c86d6068ac33df2d46cf3c7a1859c3b84a8.tar.gz kernel-fe5b7c86d6068ac33df2d46cf3c7a1859c3b84a8.zip | |
drm/udl: Drop explicit drm_mode_config_cleanup call
It's right above the drm_dev_put().
This allows us to delete a bit of onion unwinding in
udl_modeset_init().
This is made possible by a preceeding patch which added a drmm_
cleanup action to drm_mode_config_init(), hence all we need to do to
ensure that drm_mode_config_cleanup() is run on final drm_device
cleanup is check the new error code for _init().
v2: Explain why this cleanup is possible (Laurent).
v3: Use drmm_mode_config_init() for more clarity (Sam, Thomas)
Acked-by: Thomas Zimmermann <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Emil Velikov <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: "Noralf Trønnes" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
