scsi: pm8001: Remove PM8001_USE_TASKLET
authorDamien Le Moal <dlemoal@kernel.org>
Mon, 11 Sep 2023 23:27:44 +0000 (08:27 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 22 Sep 2023 01:39:47 +0000 (21:39 -0400)
commit205430290ad0b8f06924393eb9275e65392c86f3
tree2b8170e4cb8ff0d36ae08d5c8ef948c7c006c417
parentefa1fca45082c75061a53fa58ca69468f407291c
scsi: pm8001: Remove PM8001_USE_TASKLET

Remove the macro PM8001_USE_TASKLET used to conditionally use tasklets for
MSI-X interrupts handling and replace it with the boolean module parameter
pm8001_use_tasklet. This parameter defaults to true and can be true only if
pm8001_use_msix is also true.

Code conditionnaly defined with PM8001_USE_TASKLET is modified to instead
use the parameter pm8001_use_tasklet.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230911232745.325149-10-dlemoal@kernel.org
Acked-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_init.c
drivers/scsi/pm8001/pm8001_sas.h