On Mon, Aug 26, 2024 at 04:31:02PM +0900, Damien Le Moal wrote: > Move the definition of the function sata_down_spd_limit() to > libata-sata.c where it belongs, together with sata_set_spd(). > The helper function ata_sstatus_online() is also changed to be an > inline function defined in drivers/ata/libata.h. > > Signed-off-by: Damien Le Moal <dlemoal@xxxxxxxxxx> > --- > drivers/ata/libata-core.c | 85 --------------------------------------- > drivers/ata/libata-sata.c | 80 ++++++++++++++++++++++++++++++++++++ > drivers/ata/libata.h | 17 +++++++- > 3 files changed, 96 insertions(+), 86 deletions(-) > Reviewed-by: Niklas Cassel <cassel@xxxxxxxxxx>