summaryrefslogtreecommitdiffstats
path: root/sound/core/seq/oss/seq_oss.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-04 18:24:04 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-14 08:14:18 +0100
commitbb343e7969cb8a4b6b20bddc97098c87f4fae2b5 (patch)
tree753fa63b04da919f2c289310e72873ae64aa5abd /sound/core/seq/oss/seq_oss.c
parent04cc79a048ee215ec39af05d61f1fc8a4ab3d8c1 (diff)
downloadop-kernel-dev-bb343e7969cb8a4b6b20bddc97098c87f4fae2b5.zip
op-kernel-dev-bb343e7969cb8a4b6b20bddc97098c87f4fae2b5.tar.gz
ALSA: seq_oss: Use standard printk helpers
Use the standard pr_xxx() helpers instead of home-baked snd_print*(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq/oss/seq_oss.c')
-rw-r--r--sound/core/seq/oss/seq_oss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/core/seq/oss/seq_oss.c b/sound/core/seq/oss/seq_oss.c
index 972368a..16d4267 100644
--- a/sound/core/seq/oss/seq_oss.c
+++ b/sound/core/seq/oss/seq_oss.c
@@ -226,14 +226,14 @@ register_device(void)
if ((rc = snd_register_oss_device(SNDRV_OSS_DEVICE_TYPE_SEQUENCER,
NULL, 0,
&seq_oss_f_ops, NULL)) < 0) {
- snd_printk(KERN_ERR "can't register device seq\n");
+ pr_err("ALSA: seq_oss: can't register device seq\n");
mutex_unlock(&register_mutex);
return rc;
}
if ((rc = snd_register_oss_device(SNDRV_OSS_DEVICE_TYPE_MUSIC,
NULL, 0,
&seq_oss_f_ops, NULL)) < 0) {
- snd_printk(KERN_ERR "can't register device music\n");
+ pr_err("ALSA: seq_oss: can't register device music\n");
snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_SEQUENCER, NULL, 0);
mutex_unlock(&register_mutex);
return rc;
@@ -247,9 +247,9 @@ unregister_device(void)
{
mutex_lock(&register_mutex);
if (snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_MUSIC, NULL, 0) < 0)
- snd_printk(KERN_ERR "error unregister device music\n");
+ pr_err("ALSA: seq_oss: error unregister device music\n");
if (snd_unregister_oss_device(SNDRV_OSS_DEVICE_TYPE_SEQUENCER, NULL, 0) < 0)
- snd_printk(KERN_ERR "error unregister device seq\n");
+ pr_err("ALSA: seq_oss: error unregister device seq\n");
mutex_unlock(&register_mutex);
}
OpenPOWER on IntegriCloud