diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-02 23:10:41 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 05:28:05 -0400 |
commit | fa6e4b181c57ae8b18758840b8a8545b3bb1f1d9 (patch) | |
tree | 4a6ed814f10551ed9bc1bc8656bc03c7b20dc222 /drivers/mfd/tc6393xb.c | |
parent | b6e6d54cab7633dd2216ede77ccd00cdaebd77ad (diff) |
mfd: Fix wrong goto labels for tc6393xb error handling
This patch corrects the error handling path.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/tc6393xb.c')
-rw-r--r-- | drivers/mfd/tc6393xb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c index fcf9068810fb..ef6c42c8917a 100644 --- a/drivers/mfd/tc6393xb.c +++ b/drivers/mfd/tc6393xb.c | |||
@@ -732,9 +732,9 @@ err_gpio_add: | |||
732 | if (tc6393xb->gpio.base != -1) | 732 | if (tc6393xb->gpio.base != -1) |
733 | temp = gpiochip_remove(&tc6393xb->gpio); | 733 | temp = gpiochip_remove(&tc6393xb->gpio); |
734 | tcpd->disable(dev); | 734 | tcpd->disable(dev); |
735 | err_clk_enable: | ||
736 | clk_disable(tc6393xb->clk); | ||
737 | err_enable: | 735 | err_enable: |
736 | clk_disable(tc6393xb->clk); | ||
737 | err_clk_enable: | ||
738 | iounmap(tc6393xb->scr); | 738 | iounmap(tc6393xb->scr); |
739 | err_ioremap: | 739 | err_ioremap: |
740 | release_resource(&tc6393xb->rscr); | 740 | release_resource(&tc6393xb->rscr); |