aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme32.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-25 08:57:03 -0500
committerTakashi Iwai <tiwai@suse.de>2014-02-26 10:45:20 -0500
commit03952a3e2d98757a848a0d299d3e7c8ad0f08ffc (patch)
treedb0d92535671e0520e143dc4e89e27c750f5e1b3 /sound/pci/rme32.c
parent747ce5b36c2920a46cc22813f5ce1b9ba324f80d (diff)
ALSA: rme32: Use standard printk helpers
Convert with dev_err() and co from snd_printk(), etc. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme32.c')
-rw-r--r--sound/pci/rme32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c
index 77465cc03e95..cc2f0c1b6484 100644
--- a/sound/pci/rme32.c
+++ b/sound/pci/rme32.c
@@ -1349,14 +1349,15 @@ static int snd_rme32_create(struct rme32 *rme32)
1349 1349
1350 rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE); 1350 rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE);
1351 if (!rme32->iobase) { 1351 if (!rme32->iobase) {
1352 snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n", 1352 dev_err(rme32->card->dev,
1353 "unable to remap memory region 0x%lx-0x%lx\n",
1353 rme32->port, rme32->port + RME32_IO_SIZE - 1); 1354 rme32->port, rme32->port + RME32_IO_SIZE - 1);
1354 return -ENOMEM; 1355 return -ENOMEM;
1355 } 1356 }
1356 1357
1357 if (request_irq(pci->irq, snd_rme32_interrupt, IRQF_SHARED, 1358 if (request_irq(pci->irq, snd_rme32_interrupt, IRQF_SHARED,
1358 KBUILD_MODNAME, rme32)) { 1359 KBUILD_MODNAME, rme32)) {
1359 snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq); 1360 dev_err(rme32->card->dev, "unable to grab IRQ %d\n", pci->irq);
1360 return -EBUSY; 1361 return -EBUSY;
1361 } 1362 }
1362 rme32->irq = pci->irq; 1363 rme32->irq = pci->irq;