Commit 8cafbf2
i2c: Use device_get_match_data()
Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>1 parent 0f75d48 commit 8cafbf2
3 files changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
859 | 858 | | |
860 | 859 | | |
861 | 860 | | |
862 | | - | |
| 861 | + | |
863 | 862 | | |
864 | 863 | | |
865 | 864 | | |
| |||
897 | 896 | | |
898 | 897 | | |
899 | 898 | | |
900 | | - | |
901 | | - | |
| 899 | + | |
| 900 | + | |
902 | 901 | | |
903 | 902 | | |
904 | | - | |
| 903 | + | |
905 | 904 | | |
906 | 905 | | |
907 | 906 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
1358 | 1358 | | |
1359 | 1359 | | |
1360 | 1360 | | |
1361 | | - | |
1362 | 1361 | | |
1363 | 1362 | | |
1364 | 1363 | | |
| |||
1376 | 1375 | | |
1377 | 1376 | | |
1378 | 1377 | | |
1379 | | - | |
1380 | | - | |
| 1378 | + | |
1381 | 1379 | | |
1382 | 1380 | | |
1383 | | - | |
| 1381 | + | |
1384 | 1382 | | |
1385 | 1383 | | |
1386 | 1384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
1252 | 1253 | | |
1253 | 1254 | | |
1254 | 1255 | | |
1255 | | - | |
1256 | | - | |
1257 | 1256 | | |
1258 | | - | |
| 1257 | + | |
1259 | 1258 | | |
1260 | 1259 | | |
1261 | 1260 | | |
| |||
1264 | 1263 | | |
1265 | 1264 | | |
1266 | 1265 | | |
1267 | | - | |
| 1266 | + | |
1268 | 1267 | | |
1269 | 1268 | | |
1270 | 1269 | | |
| |||
0 commit comments