Commit 73febd7
i2c: create debugfs entry per adapter
Two drivers already implement custom debugfs handling for their
i2c_adapter and more will come. So, let the core create a debugfs
directory per adapter and pass that to drivers for their debugfs files.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>1 parent f79ad78 commit 73febd7
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
1524 | 1527 | | |
1525 | 1528 | | |
1526 | 1529 | | |
| 1530 | + | |
| 1531 | + | |
1527 | 1532 | | |
1528 | 1533 | | |
1529 | 1534 | | |
| |||
1563 | 1568 | | |
1564 | 1569 | | |
1565 | 1570 | | |
| 1571 | + | |
1566 | 1572 | | |
1567 | 1573 | | |
1568 | 1574 | | |
| |||
1764 | 1770 | | |
1765 | 1771 | | |
1766 | 1772 | | |
| 1773 | + | |
| 1774 | + | |
1767 | 1775 | | |
1768 | 1776 | | |
1769 | 1777 | | |
| |||
2061 | 2069 | | |
2062 | 2070 | | |
2063 | 2071 | | |
| 2072 | + | |
| 2073 | + | |
2064 | 2074 | | |
2065 | 2075 | | |
2066 | 2076 | | |
| |||
2099 | 2109 | | |
2100 | 2110 | | |
2101 | 2111 | | |
| 2112 | + | |
2102 | 2113 | | |
2103 | 2114 | | |
2104 | 2115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
| 749 | + | |
| 750 | + | |
749 | 751 | | |
750 | 752 | | |
751 | 753 | | |
| |||
0 commit comments