]> git.hungrycats.org Git - linux/commitdiff
[PATCH] tiny zalon cleanups
authorChristoph Hellwig <hch@lst.de>
Thu, 25 Sep 2003 07:09:01 +0000 (02:09 -0500)
committerJames Bottomley <jejb@raven.il.steeleye.com>
Thu, 25 Sep 2003 07:09:01 +0000 (02:09 -0500)
Rename zalon_scsi_callback to the more sensible zalon_probe and fix
a few tiny indentation issues.

drivers/scsi/zalon.c

index 35d8b9e4d1a33c283b72a7844e3efbbf419aa692..31eef856cceca51ae90e9266d92d49592eacf66e 100644 (file)
@@ -99,7 +99,7 @@ static Scsi_Host_Template zalon7xx_template = {
 };
 
 static int __init
-zalon_scsi_callback(struct parisc_device *dev)
+zalon_probe(struct parisc_device *dev)
 {
        struct gsc_irq gsc_irq;
        u32 zalon_vers;
@@ -130,7 +130,7 @@ zalon_scsi_callback(struct parisc_device *dev)
 
        __raw_writel(gsc_irq.txn_addr | gsc_irq.txn_data, dev->hpa + IO_MODULE_EIM);
 
-       if ( zalon_vers == 0)
+       if (zalon_vers == 0)
                printk(KERN_WARNING "%s: Zalon 1.1 or earlier\n", __FUNCTION__);
 
        memset(&device, 0, sizeof(ncr_device));
@@ -150,10 +150,10 @@ zalon_scsi_callback(struct parisc_device *dev)
        device.differential     = 2;
 
        host = ncr_attach(&zalon7xx_template, unit, &device);
-       if(!host)
+       if (!host)
                goto fail;
 
-       if(request_irq(irq, ncr53c8xx_intr, SA_SHIRQ, dev->dev.bus_id, host)) {
+       if (request_irq(irq, ncr53c8xx_intr, SA_SHIRQ, dev->dev.bus_id, host)) {
                printk(KERN_ERR "%s: irq problem with %d, detaching\n ",
                       dev->dev.bus_id, irq);
                goto fail;
@@ -200,7 +200,7 @@ static int __exit zalon_remove(struct parisc_device *dev)
 static struct parisc_driver zalon_driver = {
        .name =         "GSC SCSI (Zalon)",
        .id_table =     zalon_tbl,
-       .probe =        zalon_scsi_callback,
+       .probe =        zalon_probe,
        .remove =       __devexit_p(zalon_remove),
 };