summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2020-12-01 11:35:27 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2021-01-06 15:43:10 +0100
commita33f187a3c9d0a92c0a457ffae04fe113fa95f7c (patch)
treecac4f9b37bdbd4c89fa50a8c1d4c9df829f96670
parentdrm/bochs: Remove references to struct drm_device.pdev (diff)
downloadlinux-a33f187a3c9d0a92c0a457ffae04fe113fa95f7c.tar.xz
linux-a33f187a3c9d0a92c0a457ffae04fe113fa95f7c.zip
drm/cirrus: Remove references to struct drm_device.pdev
Using struct drm_device.pdev is deprecated. Convert cirrus to struct drm_device.dev. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201201103542.2182-6-tzimmermann@suse.de
-rw-r--r--drivers/gpu/drm/tiny/cirrus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tiny/cirrus.c b/drivers/gpu/drm/tiny/cirrus.c
index 561c49d8657a..a043e602199e 100644
--- a/drivers/gpu/drm/tiny/cirrus.c
+++ b/drivers/gpu/drm/tiny/cirrus.c
@@ -602,7 +602,6 @@ static int cirrus_pci_probe(struct pci_dev *pdev,
drm_mode_config_reset(dev);
- dev->pdev = pdev;
pci_set_drvdata(pdev, dev);
ret = drm_dev_register(dev, 0);
if (ret)