* [PATCH] USB: remove info() macro from usb mtd drivers
@ 2008-10-10 5:13 Greg KH
2008-10-10 6:40 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2008-10-10 5:13 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-usb, linux-mtd
From: Greg Kroah-Hartman <gregkh@suse.de>
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
David, this has been in the USB tree for a few months now, sorry for not
sending it to you sooner. I can easily keep it in my tree and send it
to Linus for this merge if you want me to, or you can take it in your
tree, which ever you want me to do.
thanks,
greg k-h
drivers/mtd/nand/alauda.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/mtd/nand/alauda.c
+++ b/drivers/mtd/nand/alauda.c
@@ -691,7 +691,7 @@ static int alauda_probe(struct usb_inter
al[0].port = ALAUDA_PORT_XD;
al[1].port = ALAUDA_PORT_SM;
- info("alauda probed");
+ dev_info(&interface->dev, "alauda probed\n");
alauda_check_media(al);
alauda_check_media(al+1);
@@ -716,7 +716,7 @@ static void alauda_disconnect(struct usb
if (al)
kref_put(&al->kref, alauda_delete);
- info("alauda gone");
+ dev_info(&interface->dev, "alauda gone");
}
static struct usb_driver alauda_driver = {
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] USB: remove info() macro from usb mtd drivers
2008-10-10 5:13 [PATCH] USB: remove info() macro from usb mtd drivers Greg KH
@ 2008-10-10 6:40 ` David Woodhouse
2008-10-10 16:11 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2008-10-10 6:40 UTC (permalink / raw)
To: Greg KH; +Cc: linux-usb, linux-mtd
On Thu, 2008-10-09 at 22:13 -0700, Greg KH wrote:
> From: Greg Kroah-Hartman <gregkh@suse.de>
>
> USB should not be having it's own printk macros, so remove info() and
> use the system-wide standard of dev_info() wherever possible.
>
> Cc: David Woodhouse <dwmw2@infradead.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> ---
> David, this has been in the USB tree for a few months now, sorry for not
> sending it to you sooner. I can easily keep it in my tree and send it
> to Linus for this merge if you want me to, or you can take it in your
> tree, which ever you want me to do.
Since you already seem to have it, you might as well keep it. Thanks.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@intel.com Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] USB: remove info() macro from usb mtd drivers
2008-10-10 6:40 ` David Woodhouse
@ 2008-10-10 16:11 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2008-10-10 16:11 UTC (permalink / raw)
To: David Woodhouse; +Cc: linux-usb, linux-mtd
On Fri, Oct 10, 2008 at 07:40:56AM +0100, David Woodhouse wrote:
> On Thu, 2008-10-09 at 22:13 -0700, Greg KH wrote:
> > From: Greg Kroah-Hartman <gregkh@suse.de>
> >
> > USB should not be having it's own printk macros, so remove info() and
> > use the system-wide standard of dev_info() wherever possible.
> >
> > Cc: David Woodhouse <dwmw2@infradead.org>
> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
> > ---
> > David, this has been in the USB tree for a few months now, sorry for not
> > sending it to you sooner. I can easily keep it in my tree and send it
> > to Linus for this merge if you want me to, or you can take it in your
> > tree, which ever you want me to do.
>
> Since you already seem to have it, you might as well keep it. Thanks.
Great, will do, thanks.
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-10 16:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-10 5:13 [PATCH] USB: remove info() macro from usb mtd drivers Greg KH
2008-10-10 6:40 ` David Woodhouse
2008-10-10 16:11 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox