linux-stable/drivers/gpu/drm/pl111
Daniel Vetter 5e3e55b69c drm/pl111: Drop explicit drm_mode_config_cleanup call
It's right above the drm_dev_put().

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().

Aside: This driver gets its devm_ stuff all wrong wrt drm_device and
anything hanging off that. Not the only one unfortunately.

v2: Explain why this cleanup is possible (Laurent).

v3: Use drmm_mode_config_init() for more clarity (Sam, Thomas)

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-36-daniel.vetter@ffwll.ch
2020-03-26 16:05:39 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/pl111: Support Nomadik LCDC variant 2018-07-01 21:36:47 +02:00
pl111_debugfs.c drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
pl111_display.c drm/simple-kms: Standardize arguments for callbacks 2019-10-24 13:55:56 +02:00
pl111_drm.h drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
pl111_drv.c drm/pl111: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:05:39 +01:00
pl111_nomadik.c drm/pl111: Support Nomadik LCDC variant 2018-07-01 21:36:47 +02:00
pl111_nomadik.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_versatile.c drm/pl111: Support Integrator IM-PD1 module 2020-02-16 14:31:30 +01:00
pl111_versatile.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_vexpress.c drm/pl111: pl111_vexpress.c: Add of_node_put() before return 2019-07-15 16:26:43 -07:00
pl111_vexpress.h drm/pl111: Fix module probe bug 2018-05-04 00:13:41 +02:00