[PATCH 5/5] drm/radeon: Use pci_get_base_class() to reduce duplicated code