ncr5380: Use work_struct instead of delayed_work
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:37 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:42:59 +0000 (21:42 -0500)
commit8d8601a757688386e914b922cc267a9244e0fdc9
treef92f9fa36f61508ebbb13bbc7a35841e4a4262d8
parent401e79fe8d9f0151ad99e6fd7c1bd2e178c84d25
ncr5380: Use work_struct instead of delayed_work

Each host instance now has it's own work queue so the main() work item can
sleep when necessary. That means we can use a simple work item rather than
a delayed work item. This brings NCR5380.c closer to atari_NCR5380.c.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/NCR5380.c
drivers/scsi/NCR5380.h