ata: libata-eh: Move and rename ata_eh_set_lpm()
authorDamien Le Moal <dlemoal@kernel.org>
Wed, 18 Jun 2025 05:11:24 +0000 (14:11 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 30 Jun 2025 01:25:45 +0000 (10:25 +0900)
commit0013ddc4cf2047caca31c541b18728d9e2eccba9
tree90be928c47f70d6904a1d7f790ec946e0790da47
parent3a382b9b13aaa02af0f5b194cce2825fe78f4f51
ata: libata-eh: Move and rename ata_eh_set_lpm()

Move the definition of the function ata_eh_set_lpm() to avoid its
unnecessary forward declaration and rename the function to
ata_eh_link_set_lpm() to clarify that it acts on a link.
No functional changes.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/libata-eh.c