openvortex-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Openvortex-dev] [PATCH 6/6] au88x0: comment and whitespace cleanup


From: Jeff Muizelaar
Subject: [Openvortex-dev] [PATCH 6/6] au88x0: comment and whitespace cleanup
Date: Sun, 24 Oct 2004 18:09:52 -0400

Remove an obsolete comment and cleanup up some whitespace a bit

Signed-off-by: Jeff Muizelaar <address@hidden>

diff -ur name/sound/pci/au88x0/au88x0.c working/sound/pci/au88x0/au88x0.c
--- name/sound/pci/au88x0/au88x0.c      2004-10-23 21:07:23 -0400
+++ working/sound/pci/au88x0/au88x0.c   2004-10-23 21:47:43 -0400
@@ -170,9 +170,8 @@
        if ((err = pci_request_regions(pci, CARD_NAME_SHORT)) != 0)
                goto regions_out;
 
-       chip->mmio =
-           ioremap_nocache(pci_resource_start(pci, 0),
-                           pci_resource_len(pci, 0));
+       chip->mmio = ioremap_nocache(pci_resource_start(pci, 0),
+                                    pci_resource_len(pci, 0));
        if (!chip->mmio) {
                printk(KERN_ERR "MMIO area remap failed.\n");
                err = -ENOMEM;
@@ -187,10 +186,9 @@
                goto core_out;
        }
 
-       if ((err =
-            request_irq(pci->irq, vortex_interrupt,
-                        SA_INTERRUPT | SA_SHIRQ, CARD_NAME_SHORT,
-                        (void *)chip)) != 0) {
+       if ((err = request_irq(pci->irq, vortex_interrupt,
+                              SA_INTERRUPT | SA_SHIRQ, CARD_NAME_SHORT,
+                              chip)) != 0) {
                printk(KERN_ERR "cannot grab irq\n");
                goto irq_out;
        }
@@ -214,7 +212,6 @@
       irq_out:
        vortex_core_shutdown(chip);
       core_out:
-       //FIXME: the type of chip->mmio might need to be changed??
        iounmap(chip->mmio);
       ioremap_out:
        pci_release_regions(chip->pci_dev);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]