linux/drivers/hwtracing/ptt
Xiongfeng Wang 484281bd5b hwtracing: hisi_ptt: Use pci_dev_id() to simplify the code
PCI core API pci_dev_id() can be used to get the BDF number for a pci
device. We don't need to compose it mannually using PCI_DEVID(). Use
pci_dev_id() to simplify the code a little bit.

Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>
Reviewed-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230808030835.167538-1-wangxiongfeng2@huawei.com
2023-08-15 00:45:56 +01:00
..
hisi_ptt.c hwtracing: hisi_ptt: Use pci_dev_id() to simplify the code 2023-08-15 00:45:56 +01:00
hisi_ptt.h hwtracing: hisi_ptt: Fix potential sleep in atomic context 2023-06-21 11:52:39 +01:00
Kconfig
Makefile