summaryrefslogtreecommitdiffstats
path: root/sound/core/hrtimer.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-04 18:22:39 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-14 08:14:17 +0100
commitcf74dcf3512271bca4bb5fe79274ad23c22f5dd3 (patch)
tree0d7a8aecb236a4de5b1fd02ada3ba32585ecd7ab /sound/core/hrtimer.c
parent61efcee8608c38c1f3147aee9c60248b6e2b141f (diff)
downloadlinux-cf74dcf3512271bca4bb5fe79274ad23c22f5dd3.tar.gz
linux-cf74dcf3512271bca4bb5fe79274ad23c22f5dd3.tar.bz2
linux-cf74dcf3512271bca4bb5fe79274ad23c22f5dd3.zip
ALSA: timer: 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/hrtimer.c')
-rw-r--r--sound/core/hrtimer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/core/hrtimer.c b/sound/core/hrtimer.c
index b8b31c433d64..886be7da989d 100644
--- a/sound/core/hrtimer.c
+++ b/sound/core/hrtimer.c
@@ -126,8 +126,7 @@ static int __init snd_hrtimer_init(void)
hrtimer_get_res(CLOCK_MONOTONIC, &tp);
if (tp.tv_sec > 0 || !tp.tv_nsec) {
- snd_printk(KERN_ERR
- "snd-hrtimer: Invalid resolution %u.%09u",
+ pr_err("snd-hrtimer: Invalid resolution %u.%09u",
(unsigned)tp.tv_sec, (unsigned)tp.tv_nsec);
return -EINVAL;
}