summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-25 13:57:03 (GMT)
committerTakashi Iwai <tiwai@suse.de>2014-02-26 15:45:20 (GMT)
commit03952a3e2d98757a848a0d299d3e7c8ad0f08ffc (patch)
treedb0d92535671e0520e143dc4e89e27c750f5e1b3 /sound/pci
parent747ce5b36c2920a46cc22813f5ce1b9ba324f80d (diff)
downloadlinux-03952a3e2d98757a848a0d299d3e7c8ad0f08ffc.tar.xz
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')
-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 77465cc..cc2f0c1 100644
--- a/sound/pci/rme32.c
+++ b/sound/pci/rme32.c
@@ -1349,14 +1349,15 @@ static int snd_rme32_create(struct rme32 *rme32)
rme32->iobase = ioremap_nocache(rme32->port, RME32_IO_SIZE);
if (!rme32->iobase) {
- snd_printk(KERN_ERR "unable to remap memory region 0x%lx-0x%lx\n",
+ dev_err(rme32->card->dev,
+ "unable to remap memory region 0x%lx-0x%lx\n",
rme32->port, rme32->port + RME32_IO_SIZE - 1);
return -ENOMEM;
}
if (request_irq(pci->irq, snd_rme32_interrupt, IRQF_SHARED,
KBUILD_MODNAME, rme32)) {
- snd_printk(KERN_ERR "unable to grab IRQ %d\n", pci->irq);
+ dev_err(rme32->card->dev, "unable to grab IRQ %d\n", pci->irq);
return -EBUSY;
}
rme32->irq = pci->irq;