]> git.karo-electronics.de Git - linux-beck.git/commit
scsi/NCR5380: adopt dprintk()
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Mar 2014 00:42:20 +0000 (11:42 +1100)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 10:10:43 +0000 (12:10 +0200)
commitd65e634a86e681ffd36717cde63fb81edbb6f719
tree3fb1e463c652f6bdb469dd503c7483f56b420aaa
parent8ad3a593145b4941a1ee9e52896da67e38d082da
scsi/NCR5380: adopt dprintk()

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 because the atari_NCR5380
and sun3_NCR5380 versions are inflexible. For example, they can't accomodate
dprintk(NDEBUG_MAIN | NDEBUG_QUEUES, ...)

Replace the *_PRINTK 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/atari_scsi.c
drivers/scsi/sun3_NCR5380.c