diff options
author | Damien Le Moal <[email protected]> | 2023-09-04 20:46:23 +0900 |
---|---|---|
committer | Damien Le Moal <[email protected]> | 2023-10-03 09:39:49 +0900 |
commit | 6702255d700a6b41413d6701454cac320f2a9a42 (patch) | |
tree | a2bc1bd865958a6cb0da79a9dd614bd6f51c81f5 /rust/helpers/helpers.c | |
parent | 5b6fba546da246b3d0dd8465c07783e22629cc53 (diff) |
ata: libata-core: Remove ata_port_suspend_async()
ata_port_suspend_async() is only called by ata_sas_port_suspend().
Modify ata_port_suspend() with an additional bool argument indicating an
asynchronous or synchronous suspend to allow removing that helper
function. With this change, the variable ata_port_resume_ehi can also be
removed and its value (ATA_EHI_XXX flags passed directly to
ata_port_request_pm().
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Tested-by: Chia-Lin Kao (AceLan) <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions