]> git.baikalelectronics.ru Git - kernel.git/commit
ata: ahci: Rename `AHCI_HFLAG_IS_MOBILE`
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 25 Feb 2022 17:23:18 +0000 (11:23 -0600)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 1 Mar 2022 14:51:13 +0000 (23:51 +0900)
commite5c894791eabf13f3754ee0b28a3a8c1c5660d41
treea8a03fa6c42351ec86d5c87872e39cbe16f20b79
parent099849af27f74981c7e660dd93ff6a987307c1f2
ata: ahci: Rename `AHCI_HFLAG_IS_MOBILE`

`AHCI_HFLAG_IS_MOBILE` designates that a chipset should be using the
default link power management policy from a kernel configuration item.

As desktop chipsets may also be interested in this default policy
configuration, rename the flag to `AHCI_HFLAG_USE_LPM_POLICY` to more
accurately reflect that a chipset doesn't have to be mobile to adopt it.

Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/ahci.c
drivers/ata/ahci.h