Commit f75a27d
PCI: ftpci100: Use PCI_CONF1_ADDRESS() macro
Simplify pci-ftpci100.c driver code and use new PCI_CONF1_ADDRESS() macro
for accessing PCI config space.
Link: https://lore.kernel.org/r/20220924092404.31776-3-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>1 parent 8a9b7ef commit f75a27d
1 file changed
Lines changed: 4 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 106 | | |
114 | 107 | | |
115 | 108 | | |
| |||
190 | 183 | | |
191 | 184 | | |
192 | 185 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 186 | + | |
| 187 | + | |
198 | 188 | | |
199 | 189 | | |
200 | 190 | | |
| |||
225 | 215 | | |
226 | 216 | | |
227 | 217 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 218 | + | |
| 219 | + | |
233 | 220 | | |
234 | 221 | | |
235 | 222 | | |
| |||
0 commit comments