[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1410791701.18787.3.camel@joe-AO725>
Date: Mon, 15 Sep 2014 07:35:01 -0700
From: Joe Perches <joe@...ches.com>
To: Sudip Mukherjee <sudipm.mukherjee@...il.com>
Cc: Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.de>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] sound: pci: ctxfi: pr_* replaced with dev_*
On Mon, 2014-09-15 at 19:39 +0530, Sudip Mukherjee wrote:
> pr_* macros replaced with dev_* as they are more preffered over pr_*.
[]
> diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
[]
> @@ -1282,8 +1282,8 @@ static int atc_identify_card(struct ct_atc *atc, unsigned int ssid)
> p = snd_pci_quirk_lookup_id(vendor_id, device_id, list);
> if (p) {
> if (p->value < 0) {
> - pr_err("ctxfi: Device %04x:%04x is black-listed\n",
> - vendor_id, device_id);
> + dev_err(atc->card->dev, "ctxfi: Device %04x:%04x is black-listed\n",
> + vendor_id, device_id);
You should probably remove the "ctxfi: " from the dev_<level>
uses as the card->dev name is emitted by dev_err
dev_err(atc->card->dev, "Device %04x:%04x is black-listed\n",
vendor_id, device_id);
etc...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists