]> git.baikalelectronics.ru Git - kernel.git/commit
ncr5380: Remove H_NO macro and introduce dsprintk
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 3 Jan 2016 05:05:53 +0000 (16:05 +1100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 7 Jan 2016 02:43:05 +0000 (21:43 -0500)
commit5d8af5da676664143ac53bb18410d48f34a0053e
tree92103239e895bdfc961dd7c3df84ee2218c8be69
parentaddaee66e0f4b1325552d3c2ecce17c919acab1b
ncr5380: Remove H_NO macro and introduce dsprintk

Replace all H_NO and some HOSTNO macros (both peculiar to atari_NCR5380.c)
with a new dsprintk macro that's more useful and more consistent. The new
macro avoids a lot of boilerplate in new code in subsequent patches. Keep
NCR5380.c in sync. Remaining HOSTNO macros are removed as side-effects
of subsequent patches.

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