public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH] tiny zalon cleanups
Date: Sat, 20 Sep 2003 11:30:12 +0200	[thread overview]
Message-ID: <20030920093012.GA20959@lst.de> (raw)

Rename zalon_scsi_callback to the more sensible zalon_probe and fix
a few tiny indentation issues.


--- 1.8/drivers/scsi/zalon.c	Thu Sep 11 19:46:12 2003
+++ edited/drivers/scsi/zalon.c	Sat Sep 20 10:05:53 2003
@@ -99,7 +99,7 @@
 };
 
 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 @@
 
 	__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 @@
 	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 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),
 };
 

                 reply	other threads:[~2003-09-20  9:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030920093012.GA20959@lst.de \
    --to=hch@lst.de \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox