Commit c3e2a8a
Bartosz Golaszewski
gpio: virtuser: stop using dev-sync-probe
dev-err-probe is an overengineered solution to a simple problem. Use a
combination of wait_for_probe() and device_is_bound() to synchronously
wait for the platform device to probe.
Reviewed-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260327-gpio-kill-dev-sync-probe-v1-3-efac254f1a1d@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>1 parent 3a27f40 commit c3e2a8a
2 files changed
Lines changed: 20 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2098 | 2098 | | |
2099 | 2099 | | |
2100 | 2100 | | |
2101 | | - | |
2102 | 2101 | | |
2103 | 2102 | | |
2104 | 2103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
978 | 976 | | |
979 | 977 | | |
980 | 978 | | |
981 | | - | |
| 979 | + | |
982 | 980 | | |
983 | 981 | | |
984 | 982 | | |
| |||
1002 | 1000 | | |
1003 | 1001 | | |
1004 | 1002 | | |
1005 | | - | |
| 1003 | + | |
1006 | 1004 | | |
1007 | 1005 | | |
1008 | 1006 | | |
| |||
1342 | 1340 | | |
1343 | 1341 | | |
1344 | 1342 | | |
1345 | | - | |
| 1343 | + | |
1346 | 1344 | | |
1347 | 1345 | | |
1348 | 1346 | | |
| |||
1450 | 1448 | | |
1451 | 1449 | | |
1452 | 1450 | | |
| 1451 | + | |
1453 | 1452 | | |
1454 | 1453 | | |
1455 | 1454 | | |
| |||
1471 | 1470 | | |
1472 | 1471 | | |
1473 | 1472 | | |
1474 | | - | |
1475 | | - | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
1476 | 1476 | | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
1477 | 1484 | | |
| 1485 | + | |
1478 | 1486 | | |
1479 | 1487 | | |
| 1488 | + | |
| 1489 | + | |
1480 | 1490 | | |
1481 | 1491 | | |
1482 | 1492 | | |
| |||
1492 | 1502 | | |
1493 | 1503 | | |
1494 | 1504 | | |
1495 | | - | |
1496 | | - | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
1497 | 1508 | | |
1498 | 1509 | | |
1499 | 1510 | | |
| |||
1723 | 1734 | | |
1724 | 1735 | | |
1725 | 1736 | | |
1726 | | - | |
1727 | 1737 | | |
1728 | 1738 | | |
1729 | 1739 | | |
| |||
0 commit comments