]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/scsi/aha1740.c
[SCSI] use scmd_id(), scmd_channel() throughout code
authorJeff Garzik <jgarzik@pobox.com>
Mon, 24 Oct 2005 22:05:09 +0000 (18:05 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 29 Oct 2005 02:10:16 +0000 (21:10 -0500)
commit422c0d61d591cbfb70f029e13505fb437e169d68
treeebafa14e1c1564ddf263868c3b6907642a8fdf1e
parent017560fca496f72ed9dd734ffde63ce39dfe0411
[SCSI] use scmd_id(), scmd_channel() throughout code

Wrap a highly common idiom.  Makes the code easier to read, helps pave
the way for sdev->{id,channel} removal, and adds a token that can easily
by grepped-for in the future.

There are a couple sdev_id() and scmd_printk() updates thrown in as well.

Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
25 files changed:
drivers/scsi/53c700.c
drivers/scsi/NCR5380.c
drivers/scsi/NCR53C9x.c
drivers/scsi/NCR53c406a.c
drivers/scsi/a100u2w.c
drivers/scsi/aacraid/aachba.c
drivers/scsi/aha1740.c
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/atp870u.c
drivers/scsi/fd_mcs.c
drivers/scsi/fdomain.c
drivers/scsi/imm.c
drivers/scsi/ips.c
drivers/scsi/ncr53c8xx.c
drivers/scsi/nsp32.c
drivers/scsi/pcmcia/nsp_cs.c
drivers/scsi/pcmcia/sym53c500_cs.c
drivers/scsi/ppa.c
drivers/scsi/psi240i.c
drivers/scsi/qlogicfas408.c
drivers/scsi/scsi_debug.c
drivers/scsi/scsi_error.c
drivers/scsi/sym53c416.c
drivers/scsi/u14-34f.c