ata: libahci: use ahci_nr_ports() helper
Niklas Cassel
maintainerPATCH 1/1 ata: libahci: use ahci_nr_ports() helper
Use ahci_nr_ports() helper instead of open coding the same.
No functional change.
Signed-off-by Niklas Cassel <[email protected]>
--- drivers/ata/libahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/ata/libahci.c +1 -1
@@ -2636,7 +2636,7 @@ void ahci_print_info(struct ata_host *host, const char *scc_s) ,hweight32 (impl), - (cap &0x1f ) +1 , +ahci_nr_ports (cap), impl); dev_info(host->dev,
Signature · 1 line
2.53.0
Quoted 5 lines · Niklas Cassel
Use
ahci_nr_ports()helper instead of open coding the same.No functional change.
Signed-off-by Niklas Cassel <[email protected]>
Reviewed-by Damien Le Moal <[email protected]>
Signature · 2 lines
Damien Le Moal Western Digital Research
Quoted 3 lines · Niklas Cassel
Use
ahci_nr_ports()helper instead of open coding the same.No functional change.
Applied to libata/linux.git (for-7.2), thanks!
[1/1] ata: libahci: use ahci_nr_ports() helper
https://git.kernel.org/libata/linux/c/d02c6e08
Kind regards,
Niklas