ata: ahci: drop hpriv param from ahci_update_initial_lpm_policy()
authorNiklas Cassel <cassel@kernel.org>
Tue, 6 Feb 2024 21:13:44 +0000 (22:13 +0100)
committerNiklas Cassel <cassel@kernel.org>
Fri, 9 Feb 2024 09:31:49 +0000 (10:31 +0100)
commit04d5fb7fbc936f56034e788bed3c84460bf9b844
treeedc59e4580d6bf9f2ab6718c7cb1989628efcb0d
parent45b96d65ec68f625ad26ee16d2f556e29f715005
ata: ahci: drop hpriv param from ahci_update_initial_lpm_policy()

There is no need for ahci_update_initial_lpm_policy() to take hpriv as a
parameter, it can easily be derived from the ata_port.

Tested-by: Damien Le Moal <dlemoal@kernel.org>
Tested-by: Jian-Hong Pan <jhp@endlessos.org>
Acked-by: Jian-Hong Pan <jhp@endlessos.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/ahci.c