diff options
author | Fan Fei <ffclaire1224@gmail.com> | 2021-12-22 19:10:38 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-01-03 15:01:28 -0600 |
commit | a622435fbe1a230d656d47edbb50370a432aec80 (patch) | |
tree | 3389745b1b21959c77a9c7a8801a27ecd343c267 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 39a29fbd4e3123f77cfd7df1d1597e70e372361a (diff) |
PCI: kirin: Prefer of_device_get_match_data()
The kirin driver only needs the device data, not the whole struct
of_device_id. Use of_device_get_match_data() instead of of_match_device().
No functional change intended.
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20211223011054.1227810-8-helgaas@kernel.org
Signed-off-by: Fan Fei <ffclaire1224@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Xiaowei Song <songxiaowei@hisilicon.com>
Cc: Binghui Wang <wangbinghui@hisilicon.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions