Re: [PATCH 2/2] ALSA: echoaudio: remove all snd_printk

From: Takashi Iwai
Date: Mon Nov 03 2014 - 04:42:29 EST


At Mon, 3 Nov 2014 14:16:23 +0530,
Sudip Mukherjee wrote:
>
> @@ -98,7 +99,7 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id)
> ECHOCAPS_HAS_DIGITAL_MODE_SPDIF_OPTICAL |
> ECHOCAPS_HAS_DIGITAL_MODE_ADAT;
>
> - DE_INIT(("init_hw done\n"));
> + dev_info(chip->card->dev, "init_hw done\n");

This (and the rest of all dev_info() in your patch) should be
dev_dbg(). They are no really useful information to be shown at each
time the module is loaded. ("init_hw done"? Yeah, why not, when the
module is loaded successfully :)


thanks,

Takashi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/