ata: libata-scsi: Cleanup ata_scsi_offline_dev()
authorDamien Le Moal <dlemoal@kernel.org>
Thu, 19 Jun 2025 00:57:21 +0000 (09:57 +0900)
committerDamien Le Moal <dlemoal@kernel.org>
Mon, 30 Jun 2025 01:25:45 +0000 (10:25 +0900)
commitcb45e3ff431f96e905462313cb52c27b7c830709
tree9ccfc02cc3340219c65ea2fc4ba4b48fd2a6aefa
parenta0f26fcc383965e0522b81269062a9278bc802fe
ata: libata-scsi: Cleanup ata_scsi_offline_dev()

Change the function ata_scsi_offline_dev() to return a bool and change
this function kdoc comment to have the correct mention of its call site.
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-scsi.c
drivers/ata/libata.h