diff options
author | Fan Fei <ffclaire1224@gmail.com> | 2021-12-23 02:10:32 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-01-03 22:00:47 +0100 |
commit | c31990dbeb78e435b541c27f6611134037f1f0ac (patch) | |
tree | de2098ec5b68fb78fb1a5bb36f44102ed24fe00b /crypto | |
parent | Linux 5.16-rc1 (diff) | |
download | linux-c31990dbeb78e435b541c27f6611134037f1f0ac.tar.xz linux-c31990dbeb78e435b541c27f6611134037f1f0ac.zip |
PCI: altera: Prefer of_device_get_match_data()
The altera 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-2-helgaas@kernel.org
Signed-off-by: Fan Fei <ffclaire1224@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Joyce Ooi <joyce.ooi@intel.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions