ahci: rename board_ahci_nosntf
authorNiklas Cassel <cassel@kernel.org>
Wed, 14 Feb 2024 13:00:09 +0000 (14:00 +0100)
committerNiklas Cassel <cassel@kernel.org>
Mon, 19 Feb 2024 08:51:56 +0000 (09:51 +0100)
commitf2b70a264b44a6c3952fadbcc3e6711deed8458f
treee9aa542e33bfc6d1d70ce14f9ba836425834e7cd
parent7edbb6059274c0ee997947978a46d91664c64983
ahci: rename board_ahci_nosntf

Commit 7edbb6059274 ("ahci: clean up intel_pcs_quirk") added a new board
type (board_ahci_pcs_quirk) which applies the Intel PCS quirk for legacy
platforms. However, it also modified board_ahci_avn and board_ahci_nosntf
to apply the same quirk.

board_ahci_avn is defined under the label:
/* board IDs for specific chipsets in alphabetical order */
This is a board for a specific chipset, so the naming is perfectly fine.
(The name does not need to be suffixed with _pcs_quirk, since all
controllers for this chipset require the quirk to be applied).

board_ahci_nosntf is defined under the label:
/* board IDs by feature in alphabetical order */
This is a board for a specific feature/quirk. However, it is used to
apply two different quirks.

Rename board_ahci_nosntf to more clearly highlight that this board ID
applies two different quirks.

Fixes: 7edbb6059274 ("ahci: clean up intel_pcs_quirk")
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/ahci.c