diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2014-08-26 15:31:42 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-08-26 15:40:54 +0200 |
commit | e720b82027b99482ea5d1001a69bdf2200e86b79 (patch) | |
tree | f5550b5e8ec2309aec6b4ed9ede6fc949b3edfc9 /sound/pci/ctxfi/ctamixer.c | |
parent | ALSA: ctxfi: ctpcm.c: printk replacement (diff) | |
download | linux-e720b82027b99482ea5d1001a69bdf2200e86b79.tar.xz linux-e720b82027b99482ea5d1001a69bdf2200e86b79.zip |
ALSA: ctxfi: prink replacement
as pr_* macros are more preffered over printk, so printk replaced with corresponding pr_err and pr_alert
this patch will generate a warning from checkpatch for an unnecessary space before new line and has not been fixed as this patch is only for printk replacement.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctamixer.c')
-rw-r--r-- | sound/pci/ctxfi/ctamixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ctxfi/ctamixer.c b/sound/pci/ctxfi/ctamixer.c index fee35cfc0c7f..fed6e6a57608 100644 --- a/sound/pci/ctxfi/ctamixer.c +++ b/sound/pci/ctxfi/ctamixer.c @@ -258,7 +258,7 @@ static int get_amixer_rsc(struct amixer_mgr *mgr, } spin_unlock_irqrestore(&mgr->mgr_lock, flags); if (err) { - printk(KERN_ERR "ctxfi: Can't meet AMIXER resource request!\n"); + pr_err("ctxfi: Can't meet AMIXER resource request!\n"); goto error; } @@ -411,7 +411,7 @@ static int get_sum_rsc(struct sum_mgr *mgr, } spin_unlock_irqrestore(&mgr->mgr_lock, flags); if (err) { - printk(KERN_ERR "ctxfi: Can't meet SUM resource request!\n"); + pr_err("ctxfi: Can't meet SUM resource request!\n"); goto error; } |