[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hy702ide3.wl%tiwai@suse.de>
Date: Sun, 02 Nov 2008 12:19:16 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Kay Sievers <kay.sievers@...y.org>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
Greg KH <greg@...ah.com>
Subject: Re: sound: struct device - replace bus_id with dev_name(), dev_set_name()
At Sun, 02 Nov 2008 03:50:35 +0100,
Kay Sievers wrote:
>
> --- a/sound/isa/ad1848/ad1848.c
> +++ b/sound/isa/ad1848/ad1848.c
> @@ -70,15 +70,15 @@ static int __devinit snd_ad1848_match(st
> return 0;
>
> if (port[n] == SNDRV_AUTO_PORT) {
> - snd_printk(KERN_ERR "%s: please specify port\n", dev->bus_id);
> + snd_printk(KERN_ERR "%s: please specify port\n", dev_name(dev));
All the changes in sound/isa/* seem to be better fixed by replacement
with dev_err().
Other changes look good to me.
thanks,
Takashi
--
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