scsi/NCR5380: adopt NCR5380_dprint() and NCR5380_dprint_phase()
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Mar 2014 00:42:19 +0000 (11:42 +1100)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 10:05:37 +0000 (12:05 +0200)
commit8ad3a593145b4941a1ee9e52896da67e38d082da
treeb5c203320f70219bf80f3871439ed6def9873ca0
parent52a6a1cbd9615d2df59bdf8e77da90371e6a9a84
scsi/NCR5380: adopt NCR5380_dprint() and NCR5380_dprint_phase()

All NCR5380 drivers already include the NCR5380.h header. Better to
adopt those macros rather than have three variations on them.

Moreover, the macros in NCR5380.h are preferable anyway: the atari_NCR5380
and sun3_NCR5380 versions are inflexible. For example, they can't accomodate
NCR5380_dprint(NDEBUG_MAIN | NDEBUG_QUEUES, ...)

Replace the NCR_PRINT* macros from atari_NCR5380.h and sun3_NCR5380.h with
the equivalent macros from NCR5380.h.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Acked-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/atari_NCR5380.c
drivers/scsi/sun3_NCR5380.c