drm: Remove pdev field from struct drm_device
authorThomas Zimmermann <tzimmermann@suse.de>
Sun, 2 May 2021 10:49:53 +0000 (12:49 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 3 May 2021 17:48:40 +0000 (19:48 +0200)
commitb347e04452ff6382ace8fba9c81f5bcb63be17a6
tree47bf253af8bc5a866ece5d0792ecf5e6c865c768
parent9a31b3813f91408bbd5e4059f6c6cc6713eef790
drm: Remove pdev field from struct drm_device

The field pdev in struct drm_device is unused. Remove it. The
value can be obtained by upcasting from the structure's dev field.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210502104953.21768-8-tzimmermann@suse.de
drivers/gpu/drm/drm_pci.c
include/drm/drm_device.h