scsi_debug: use pdt constants
authorDouglas Gilbert <dgilbert@interlog.com>
Sun, 1 May 2016 02:44:42 +0000 (22:44 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 4 May 2016 02:39:32 +0000 (22:39 -0400)
commitb01f6f8316af5226b0cada03e3b121e72dd4c17f
treeb857ee2f2ea93543ef886d4b821a6aef14d0c95e
parentf46eb0e9fc763b7b66c325eb94e6aefa960146d2
scsi_debug: use pdt constants

Use TYPE_* constants for SCSI peripheral device types instead of
numbers. Further cleanups requested by checkpatch.pl.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Hannes Reinicke <hare@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c