Commit a1ab720
PCI/sysfs: Calculate bin_attribute size through bin_size()
Stop abusing the is_bin_visible() callback to calculate the attribute
size. Instead use the new, dedicated bin_size() one.
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Krzysztof Wilczyński <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent bebf29b commit a1ab720
1 file changed
+16
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
821 | | - | |
822 | | - | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
823 | 824 | | |
824 | 825 | | |
825 | 826 | | |
826 | | - | |
827 | 827 | | |
828 | | - | |
829 | | - | |
830 | | - | |
| 828 | + | |
| 829 | + | |
831 | 830 | | |
832 | 831 | | |
833 | 832 | | |
834 | 833 | | |
835 | | - | |
| 834 | + | |
836 | 835 | | |
837 | 836 | | |
838 | 837 | | |
| |||
1330 | 1329 | | |
1331 | 1330 | | |
1332 | 1331 | | |
1333 | | - | |
1334 | 1332 | | |
1335 | 1333 | | |
1336 | | - | |
1337 | | - | |
| 1334 | + | |
1338 | 1335 | | |
1339 | 1336 | | |
1340 | | - | |
1341 | | - | |
1342 | 1337 | | |
1343 | 1338 | | |
1344 | 1339 | | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
1345 | 1348 | | |
1346 | 1349 | | |
1347 | 1350 | | |
| 1351 | + | |
1348 | 1352 | | |
1349 | 1353 | | |
1350 | 1354 | | |
| |||
0 commit comments