Commit 6f0b985
committed
Merge branch 'net-platform-remove-void'
Uwe Kleine-König says:
====================
net: ethernet: Convert to platform remove callback returning void
this series convert nearly all platform drivers below
drivers/net/ethernet to use remove_new. The motivation is to get rid of
an integer return code that is (mostly) ignored by the platform driver
core and error prone on the driver side.
There are 3 drivers I didn't convert (yet):
drivers/net/ethernet/ti/cpsw.c
drivers/net/ethernet/ti/cpsw_new.c
drivers/net/ethernet/ti/am65-cpsw-nuss.c
These are a bit more complicated because they don't always return 0 in
.remove(). Unless someone is quicker than me, I'll address them in
separate patches at a later time.
See commit 5c5a768 ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.
There are no interdependencies between the patches. As there are still
quite a few drivers to convert, I'm happy about every patch that makes
it in. So even if there is a merge conflict with one patch until you
apply, please apply the remainder of this series anyhow.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>101 files changed
Lines changed: 213 additions & 399 deletions
File tree
- drivers/net/ethernet
- 8390
- actions
- aeroflex
- allwinner
- altera
- amd
- xgbe
- apm
- xgene-v2
- xgene
- apple
- arc
- atheros
- broadcom
- asp2
- genet
- cadence
- calxeda
- cavium/octeon
- cirrus
- cortina
- davicom
- engleder
- faraday
- hisilicon
- hns
- i825xx
- ibm
- ehea
- emac
- litex
- marvell
- mvpp2
- mediatek
- mellanox/mlxbf_gige
- micrel
- microchip
- lan966x
- sparx5
- moxa
- mscc
- natsemi
- ni
- nxp
- qualcomm/emac
- renesas
- samsung/sxgbe
- seeq
- sgi
- smsc
- socionext
- sunplus
- sun
- ti
- tundra
- via
- wiznet
- xilinx
- xscale
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
814 | | - | |
| 814 | + | |
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | | - | |
836 | | - | |
837 | 835 | | |
838 | 836 | | |
839 | 837 | | |
| |||
1011 | 1009 | | |
1012 | 1010 | | |
1013 | 1011 | | |
1014 | | - | |
| 1012 | + | |
1015 | 1013 | | |
1016 | 1014 | | |
1017 | 1015 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
454 | 453 | | |
455 | 454 | | |
456 | 455 | | |
457 | 456 | | |
458 | 457 | | |
459 | 458 | | |
460 | 459 | | |
461 | | - | |
| 460 | + | |
462 | 461 | | |
463 | 462 | | |
464 | 463 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
826 | | - | |
| 826 | + | |
827 | 827 | | |
828 | 828 | | |
829 | 829 | | |
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
846 | 845 | | |
847 | 846 | | |
848 | 847 | | |
| |||
895 | 894 | | |
896 | 895 | | |
897 | 896 | | |
898 | | - | |
| 897 | + | |
899 | 898 | | |
900 | 899 | | |
901 | 900 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1582 | 1582 | | |
1583 | 1583 | | |
1584 | 1584 | | |
1585 | | - | |
| 1585 | + | |
1586 | 1586 | | |
1587 | 1587 | | |
1588 | 1588 | | |
1589 | 1589 | | |
1590 | 1590 | | |
1591 | 1591 | | |
1592 | | - | |
1593 | | - | |
1594 | 1592 | | |
1595 | 1593 | | |
1596 | 1594 | | |
| |||
1609 | 1607 | | |
1610 | 1608 | | |
1611 | 1609 | | |
1612 | | - | |
| 1610 | + | |
1613 | 1611 | | |
1614 | 1612 | | |
1615 | 1613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1525 | 1525 | | |
1526 | 1526 | | |
1527 | 1527 | | |
1528 | | - | |
| 1528 | + | |
1529 | 1529 | | |
1530 | 1530 | | |
1531 | 1531 | | |
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
1548 | | - | |
1549 | 1547 | | |
1550 | 1548 | | |
1551 | 1549 | | |
| |||
1566 | 1564 | | |
1567 | 1565 | | |
1568 | 1566 | | |
1569 | | - | |
| 1567 | + | |
1570 | 1568 | | |
1571 | 1569 | | |
1572 | 1570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1083 | 1083 | | |
1084 | 1084 | | |
1085 | 1085 | | |
1086 | | - | |
| 1086 | + | |
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
1104 | | - | |
1105 | 1104 | | |
1106 | 1105 | | |
1107 | 1106 | | |
| |||
1143 | 1142 | | |
1144 | 1143 | | |
1145 | 1144 | | |
1146 | | - | |
| 1145 | + | |
1147 | 1146 | | |
1148 | 1147 | | |
1149 | 1148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1464 | 1464 | | |
1465 | 1465 | | |
1466 | 1466 | | |
1467 | | - | |
| 1467 | + | |
1468 | 1468 | | |
1469 | 1469 | | |
1470 | 1470 | | |
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
1480 | | - | |
1481 | 1479 | | |
1482 | 1480 | | |
1483 | 1481 | | |
| |||
1528 | 1526 | | |
1529 | 1527 | | |
1530 | 1528 | | |
1531 | | - | |
| 1529 | + | |
1532 | 1530 | | |
1533 | 1531 | | |
1534 | 1532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1323 | 1323 | | |
1324 | 1324 | | |
1325 | 1325 | | |
1326 | | - | |
| 1326 | + | |
1327 | 1327 | | |
1328 | 1328 | | |
1329 | 1329 | | |
| |||
1359 | 1359 | | |
1360 | 1360 | | |
1361 | 1361 | | |
1362 | | - | |
1363 | | - | |
1364 | 1362 | | |
1365 | 1363 | | |
1366 | 1364 | | |
1367 | 1365 | | |
1368 | | - | |
| 1366 | + | |
1369 | 1367 | | |
1370 | 1368 | | |
1371 | 1369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
1490 | | - | |
| 1490 | + | |
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
1501 | | - | |
1502 | 1500 | | |
1503 | 1501 | | |
1504 | 1502 | | |
| |||
1516 | 1514 | | |
1517 | 1515 | | |
1518 | 1516 | | |
1519 | | - | |
| 1517 | + | |
1520 | 1518 | | |
1521 | 1519 | | |
1522 | 1520 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
525 | | - | |
526 | 524 | | |
527 | 525 | | |
528 | 526 | | |
| |||
615 | 613 | | |
616 | 614 | | |
617 | 615 | | |
618 | | - | |
| 616 | + | |
619 | 617 | | |
620 | 618 | | |
621 | 619 | | |
| |||
0 commit comments