Prev: [PATCH v2 2/3] powerpc: doc/dts-bindings: document mpc5121 psc uart dts-bindings
Next: Stop Bad Credit History
From: Cosimo Streppone on 9 Feb 2010 17:50 This is just a tiny coding style fix for the scsi/zorro7xx.c file. FOSDEM GregKH talk helped this patch come to life. Signed-off-by: Cosimo Streppone <cosimo(a)cpan.org> --- drivers/scsi/zorro7xx.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/zorro7xx.c b/drivers/scsi/zorro7xx.c index 64d40a2..a666f20 100644 --- a/drivers/scsi/zorro7xx.c +++ b/drivers/scsi/zorro7xx.c @@ -80,11 +80,10 @@ static int __devinit zorro7xx_init_one(struct zorro_dev *z, board = zorro_resource_start(z); zdd = (struct zorro_driver_data *)ent->driver_data; - if (zdd->absolute) { + if (zdd->absolute) ioaddr = zdd->offset; - } else { + else ioaddr = board + zdd->offset; - } if (!zorro_request_device(z, zdd->name)) { printk(KERN_ERR "zorro7xx: cannot reserve region 0x%lx, abort\n", -- 1.6.0.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |