A few coding style fixes and cleanups. There should be no functional changes in this series besides the debug log prints. Jason Yan (6): scsi: libsas: move sas_get_ata_command_set() up to save the declaration scsi: libsas: delete wrapper function sas_discover_end_dev() scsi: libsas: rename sas_discover_sata() and related refactors scsi: libsas: remove useless dev_list delete in sas_ex_discover_end_dev() scsi: libsas: factor out sas_ata_add_dev() scsi: libsas: factor out sas_ex_add_dev() drivers/scsi/libsas/sas_ata.c | 94 ++++++++++++++++++---- drivers/scsi/libsas/sas_discover.c | 21 +---- drivers/scsi/libsas/sas_expander.c | 125 ++++++++++------------------- include/scsi/libsas.h | 3 - include/scsi/sas_ata.h | 15 ++++ 5 files changed, 135 insertions(+), 123 deletions(-) -- 2.31.1