diff options
author | Jaroslav Kysela <perex@suse.cz> | 2004-10-29 21:13:39 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2004-10-29 21:13:39 +0200 |
commit | 28dda887f13587e0e961337a3b2bfafee7ca78c9 (patch) | |
tree | 2277e20a9009e7c2dfe940cebe6a411d9a0e0bc3 /sound | |
parent | f2a4639f64f3e88263d92eab2d361b24ebec793f (diff) | |
download | history-28dda887f13587e0e961337a3b2bfafee7ca78c9.tar.gz |
[ALSA] au88x0: comment and whitespace cleanup
au88x0 driver
Remove an obsolete comment and cleanup up some whitespace a bit
Signed-off-by: Jeff Muizelaar <muizelaar@rogers.com>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/au88x0/au88x0.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sound/pci/au88x0/au88x0.c b/sound/pci/au88x0/au88x0.c index 3f802183bb8203..7ce2e7631217e5 100644 --- a/sound/pci/au88x0/au88x0.c +++ b/sound/pci/au88x0/au88x0.c @@ -170,9 +170,8 @@ snd_vortex_create(snd_card_t * card, struct pci_dev *pci, vortex_t ** rchip) 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 @@ snd_vortex_create(snd_card_t * card, struct pci_dev *pci, vortex_t ** rchip) 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 @@ snd_vortex_create(snd_card_t * card, struct pci_dev *pci, vortex_t ** rchip) 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); |