linux_dsm_epyc7002/drivers/gpu/drm/shmobile
Daniel Vetter e28c853eed drm/shmob: 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: Another driver with a bit much devm_kzalloc, which should
probably use drmm_kzalloc instead ...

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

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

Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> (v2)
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: linux-renesas-soc@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-40-daniel.vetter@ffwll.ch
2020-03-26 16:06:05 +01:00
..
Kconfig video: backlight: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol 2019-04-03 11:15:57 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
shmob_drm_backlight.c drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_backlight.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_crtc.c drm/shmobile: drop use of drmP.h 2019-07-15 18:11:31 +02:00
shmob_drm_crtc.h drm/shmobile: drop use of drmP.h 2019-07-15 18:11:31 +02:00
shmob_drm_drv.c drm/shmob: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:06:05 +01:00
shmob_drm_drv.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_kms.c drm/shmob: Drop explicit drm_mode_config_cleanup call 2020-03-26 16:06:05 +01:00
shmob_drm_kms.h drm: shmobile: convert to SPDX identifiers 2018-09-14 13:54:02 +03:00
shmob_drm_plane.c drm/shmobile: drop use of drmP.h 2019-07-15 18:11:31 +02:00
shmob_drm_plane.h drm/shmobile: drop use of drmP.h 2019-07-15 18:11:31 +02:00
shmob_drm_regs.h drm/shmobile: drop use of drmP.h 2019-07-15 18:11:31 +02:00