2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 23:53:55 +08:00
linux-next/drivers/gpu/drm/aspeed
Daniel Vetter cd82945407 drm/aspeed: Use devm_drm_dev_alloc
As usual, we can drop the drm_dev_put() and need to embed the
drm_device. Since it's so few, also go right ahead and leave
drm_device->dev_private set to NULL, so that we always use the
container_of() upcast, which is faster anyway.

Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: linux-aspeed@lists.ozlabs.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-56-daniel.vetter@ffwll.ch
2020-04-28 16:13:03 +02:00
..
aspeed_gfx_crtc.c drm/aspeed: Use devm_drm_dev_alloc 2020-04-28 16:13:03 +02:00
aspeed_gfx_drv.c drm/aspeed: Use devm_drm_dev_alloc 2020-04-28 16:13:03 +02:00
aspeed_gfx_out.c drm/aspeed: Use devm_drm_dev_alloc 2020-04-28 16:13:03 +02:00
aspeed_gfx.h drm/aspeed: Use devm_drm_dev_alloc 2020-04-28 16:13:03 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00