]> 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)
commit30200cd271cc01076646e87a974ef8d582dd242d
treea8a03fa6c42351ec86d5c87872e39cbe16f20b79
parenta9c7f5718196e44fc2a4399c823529af8f0b0252
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