diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-11-17 22:40:39 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:42:52 -0500 |
commit | d6435102d4ca3b5655c0105abe924abec17ffeb8 (patch) | |
tree | 4d94c37b7b57c47e891e1a2c0e19347b3a49aafd /drivers | |
parent | e7c98dc76d5823444059205e0c7aca49743679f3 (diff) |
usb: Fix up sh_mobile usbf clock framework warnings.
drivers/usb/gadget/m66592-udc.c: In function 'm66592_probe':
drivers/usb/gadget/m66592-udc.c:1672: warning: label 'clean_up2' defined but not used
drivers/usb/host/r8a66597-hcd.c: In function 'r8a66597_probe':
drivers/usb/host/r8a66597-hcd.c:2401: warning: label 'clean_up2' defined but not used
Added by commit 985fc7c81c7852f2e104c71cbe913ace683c9e6a ("sh: sh_mobile
usbf clock framework support").
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/m66592-udc.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/r8a66597-hcd.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c index 201c67b625cc..3a8879ec2061 100644 --- a/drivers/usb/gadget/m66592-udc.c +++ b/drivers/usb/gadget/m66592-udc.c | |||
@@ -1668,8 +1668,8 @@ clean_up3: | |||
1668 | #if defined(CONFIG_SUPERH_BUILT_IN_M66592) && defined(CONFIG_HAVE_CLK) | 1668 | #if defined(CONFIG_SUPERH_BUILT_IN_M66592) && defined(CONFIG_HAVE_CLK) |
1669 | clk_disable(m66592->clk); | 1669 | clk_disable(m66592->clk); |
1670 | clk_put(m66592->clk); | 1670 | clk_put(m66592->clk); |
1671 | #endif | ||
1672 | clean_up2: | 1671 | clean_up2: |
1672 | #endif | ||
1673 | free_irq(irq, m66592); | 1673 | free_irq(irq, m66592); |
1674 | clean_up: | 1674 | clean_up: |
1675 | if (m66592) { | 1675 | if (m66592) { |
diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c index d99b9c7098b5..c21f14e0666a 100644 --- a/drivers/usb/host/r8a66597-hcd.c +++ b/drivers/usb/host/r8a66597-hcd.c | |||
@@ -2396,9 +2396,8 @@ static int __init r8a66597_probe(struct platform_device *pdev) | |||
2396 | clean_up3: | 2396 | clean_up3: |
2397 | #if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK) | 2397 | #if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK) |
2398 | clk_put(r8a66597->clk); | 2398 | clk_put(r8a66597->clk); |
2399 | #endif | ||
2400 | |||
2401 | clean_up2: | 2399 | clean_up2: |
2400 | #endif | ||
2402 | usb_put_hcd(hcd); | 2401 | usb_put_hcd(hcd); |
2403 | 2402 | ||
2404 | clean_up: | 2403 | clean_up: |