]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/ast: Upcast from DRM device to ast structure via to_ast_private()
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 17 Jun 2020 08:03:39 +0000 (10:03 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 22 Jun 2020 11:40:33 +0000 (13:40 +0200)
commitfa7dbd7688849d1d4d3c69da57a1dce7c24b1e45
tree7a0cec74bf6d048a9a5f2dbc8e77ccc0d40bd87a
parent5534bc8f184020ace49b1dfdcdc07ad6555968ac
drm/ast: Upcast from DRM device to ast structure via to_ast_private()

All upcasting from struct drm_device to struct ast_private is now
performed via to_ast_private(). Using struct drm_device.dev_private
is deprecated. The ast variable in ast_crtc_helper_atomic_check() is
unused, so removed it.

v2:
* fix typo in commit message

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200617080340.29584-4-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_dp501.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_main.c
drivers/gpu/drm/ast/ast_mode.c
drivers/gpu/drm/ast/ast_post.c