summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-lh7a404.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-02-05 17:51:13 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 14:54:59 -0800
commitf45ba776da4fe6c9a9eddd42b0fd5d1f15c260f3 (patch)
treed830c5552433b85caf93c72cae31ea67d45c330b /drivers/usb/host/ohci-lh7a404.c
parent759f3634267a67ac90f3fa7fc06510dfd43b4e45 (diff)
downloadop-kernel-dev-f45ba776da4fe6c9a9eddd42b0fd5d1f15c260f3.zip
op-kernel-dev-f45ba776da4fe6c9a9eddd42b0fd5d1f15c260f3.tar.gz
USB: Convert concatenated __FILE__ to %s, __FILE__
Reduces string space a bit Neaten a macro redefine of dbg Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-lh7a404.c')
-rw-r--r--drivers/usb/host/ohci-lh7a404.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/usb/host/ohci-lh7a404.c b/drivers/usb/host/ohci-lh7a404.c
index de42283..18d39f0 100644
--- a/drivers/usb/host/ohci-lh7a404.c
+++ b/drivers/usb/host/ohci-lh7a404.c
@@ -28,8 +28,8 @@ extern int usb_disabled(void);
static void lh7a404_start_hc(struct platform_device *dev)
{
- printk(KERN_DEBUG __FILE__
- ": starting LH7A404 OHCI USB Controller\n");
+ printk(KERN_DEBUG "%s: starting LH7A404 OHCI USB Controller\n",
+ __FILE__);
/*
* Now, carefully enable the USB clock, and take
@@ -39,14 +39,13 @@ static void lh7a404_start_hc(struct platform_device *dev)
udelay(1000);
USBH_CMDSTATUS = OHCI_HCR;
- printk(KERN_DEBUG __FILE__
- ": Clock to USB host has been enabled \n");
+ printk(KERN_DEBUG "%s: Clock to USB host has been enabled \n", __FILE__);
}
static void lh7a404_stop_hc(struct platform_device *dev)
{
- printk(KERN_DEBUG __FILE__
- ": stopping LH7A404 OHCI USB Controller\n");
+ printk(KERN_DEBUG "%s: stopping LH7A404 OHCI USB Controller\n",
+ __FILE__);
CSC_PWRCNT &= ~CSC_PWRCNT_USBH_EN; /* Disable clock */
}
OpenPOWER on IntegriCloud