aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/r8a66597-hcd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-08-18 16:21:04 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 17:41:09 -0400
commit5909f6ea2bc7f785ceb1bed14c670946a536ff2d (patch)
tree79a12b6286d65f32f43f70be35ab2b6e17b3c350 /drivers/usb/host/r8a66597-hcd.c
parent1b29a375fb0b79a11a2d18e7bf5f6da422a35025 (diff)
USB: remove info() macro from remaining usb drivers
USB should not be having it's own printk macros, so remove info() and use the system-wide standard of dev_info() wherever possible. In the few places that will not work out, use a basic printk(). Clean up the remaining usages of this in the drivers/usb/ directory. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/r8a66597-hcd.c')
-rw-r--r--drivers/usb/host/r8a66597-hcd.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index 3a45ad275b4..2a9bec264ad 100644
--- a/drivers/usb/host/r8a66597-hcd.c
+++ b/drivers/usb/host/r8a66597-hcd.c
@@ -760,10 +760,12 @@ static void enable_r8a66597_pipe_dma(struct r8a66597 *r8a66597,
760 if ((r8a66597->dma_map & (1 << i)) != 0) 760 if ((r8a66597->dma_map & (1 << i)) != 0)
761 continue; 761 continue;
762 762
763 info("address %d, EndpointAddress 0x%02x use DMA FIFO", 763 dev_info(&dev->udev->dev,
764 usb_pipedevice(urb->pipe), 764 "address %d, EndpointAddress 0x%02x use "
765 info->dir_in ? USB_ENDPOINT_DIR_MASK + info->epnum 765 "DMA FIFO\n", usb_pipedevice(urb->pipe),
766 : info->epnum); 766 info->dir_in ?
767 USB_ENDPOINT_DIR_MASK + info->epnum
768 : info->epnum);
767 769
768 r8a66597->dma_map |= 1 << i; 770 r8a66597->dma_map |= 1 << i;
769 dev->dma_map |= 1 << i; 771 dev->dma_map |= 1 << i;
@@ -2387,7 +2389,8 @@ static int __init r8a66597_init(void)
2387 if (usb_disabled()) 2389 if (usb_disabled())
2388 return -ENODEV; 2390 return -ENODEV;
2389 2391
2390 info("driver %s, %s", hcd_name, DRIVER_VERSION); 2392 printk(KERN_INFO KBUILD_MODNAME ": driver %s, %s\n", hcd_name,
2393 DRIVER_VERSION);
2391 return platform_driver_register(&r8a66597_driver); 2394 return platform_driver_register(&r8a66597_driver);
2392} 2395}
2393module_init(r8a66597_init); 2396module_init(r8a66597_init);