diff options
author | Joe Perches <joe@perches.com> | 2010-02-05 20:51:13 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-02 17:54:59 -0500 |
commit | f45ba776da4fe6c9a9eddd42b0fd5d1f15c260f3 (patch) | |
tree | d830c5552433b85caf93c72cae31ea67d45c330b /drivers/usb/host/ohci-ppc-soc.c | |
parent | 759f3634267a67ac90f3fa7fc06510dfd43b4e45 (diff) |
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-ppc-soc.c')
-rw-r--r-- | drivers/usb/host/ohci-ppc-soc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-ppc-soc.c b/drivers/usb/host/ohci-ppc-soc.c index cd3398b675b2..89e670e38c10 100644 --- a/drivers/usb/host/ohci-ppc-soc.c +++ b/drivers/usb/host/ohci-ppc-soc.c | |||
@@ -41,14 +41,14 @@ static int usb_hcd_ppc_soc_probe(const struct hc_driver *driver, | |||
41 | 41 | ||
42 | res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); | 42 | res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); |
43 | if (!res) { | 43 | if (!res) { |
44 | pr_debug(__FILE__ ": no irq\n"); | 44 | pr_debug("%s: no irq\n", __FILE__); |
45 | return -ENODEV; | 45 | return -ENODEV; |
46 | } | 46 | } |
47 | irq = res->start; | 47 | irq = res->start; |
48 | 48 | ||
49 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 49 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
50 | if (!res) { | 50 | if (!res) { |
51 | pr_debug(__FILE__ ": no reg addr\n"); | 51 | pr_debug("%s: no reg addr\n", __FILE__); |
52 | return -ENODEV; | 52 | return -ENODEV; |
53 | } | 53 | } |
54 | 54 | ||
@@ -59,14 +59,14 @@ static int usb_hcd_ppc_soc_probe(const struct hc_driver *driver, | |||
59 | hcd->rsrc_len = res->end - res->start + 1; | 59 | hcd->rsrc_len = res->end - res->start + 1; |
60 | 60 | ||
61 | if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { | 61 | if (!request_mem_region(hcd->rsrc_start, hcd->rsrc_len, hcd_name)) { |
62 | pr_debug(__FILE__ ": request_mem_region failed\n"); | 62 | pr_debug("%s: request_mem_region failed\n", __FILE__); |
63 | retval = -EBUSY; | 63 | retval = -EBUSY; |
64 | goto err1; | 64 | goto err1; |
65 | } | 65 | } |
66 | 66 | ||
67 | hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); | 67 | hcd->regs = ioremap(hcd->rsrc_start, hcd->rsrc_len); |
68 | if (!hcd->regs) { | 68 | if (!hcd->regs) { |
69 | pr_debug(__FILE__ ": ioremap failed\n"); | 69 | pr_debug("%s: ioremap failed\n", __FILE__); |
70 | retval = -ENOMEM; | 70 | retval = -ENOMEM; |
71 | goto err2; | 71 | goto err2; |
72 | } | 72 | } |