]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Stop hardcoding the PCI ID
authorZack Rusin <zackr@vmware.com>
Mon, 6 Dec 2021 17:26:11 +0000 (12:26 -0500)
committerZack Rusin <zackr@vmware.com>
Thu, 9 Dec 2021 18:16:15 +0000 (13:16 -0500)
commitae9257dc9948612198d30f8cf81326319980c883
tree20d226da34223ff8acc7155b63c5a2eec47567a9
parent653c6625815c6ec3c0d3917cf6f39c65f265f5cb
drm/vmwgfx: Stop hardcoding the PCI ID

Instead of hardcoding the VMware's PCI ID the code should be using the
public define for it. There's no functional change, it just makes
it obvious what we're dealing with.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211206172620.3139754-4-zack@kde.org
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c