Commit 39a29fb
PCI: keystone: Prefer of_device_get_match_data()
The keystone 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-7-helgaas@kernel.org
Signed-off-by: Fan Fei <ffclaire1224@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>1 parent dc078f1 commit 39a29fb
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
1090 | | - | |
1091 | 1090 | | |
1092 | 1091 | | |
1093 | 1092 | | |
| |||
1104 | 1103 | | |
1105 | 1104 | | |
1106 | 1105 | | |
1107 | | - | |
1108 | | - | |
| 1106 | + | |
1109 | 1107 | | |
1110 | 1108 | | |
1111 | 1109 | | |
| |||
0 commit comments