Commit 3f8e214
committed
ata: libahci: use ahci_nr_ports() helper
Use ahci_nr_ports() helper instead of open coding the same.
No functional change.
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>1 parent e7ae89a commit 3f8e214
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2636 | 2636 | | |
2637 | 2637 | | |
2638 | 2638 | | |
2639 | | - | |
| 2639 | + | |
2640 | 2640 | | |
2641 | 2641 | | |
2642 | 2642 | | |
| |||
0 commit comments