drm/hisilicon: hibmc: Use HUAWEI PCI vendor ID macro
authorJohn Garry <john.garry@huawei.com>
Fri, 21 Sep 2018 17:25:27 +0000 (01:25 +0800)
committerXinliang Liu <xinliang.liu@linaro.org>
Wed, 26 Sep 2018 03:40:30 +0000 (11:40 +0800)
commita66dae3a2b179eaba8f2f960271fe9d4c72939cb
treef25f1ebc090334be53b07e931dbb98ebdfb56103
parent0ff9f49646353ce31312411e7e7bd2281492a40e
drm/hisilicon: hibmc: Use HUAWEI PCI vendor ID macro

Switch to use Huawei PCI vendor ID macro from pci_ids.h file.

In addition, switch to use PCI_VDEVICE() instead of open coding.

Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
Signed-off-by: Xinliang Liu <z.liuxinliang@hisilicon.com>
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c