diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-08-03 05:10:41 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-12 11:28:05 +0200 |
commit | fa6e4b181c57ae8b18758840b8a8545b3bb1f1d9 (patch) | |
tree | 4a6ed814f10551ed9bc1bc8656bc03c7b20dc222 /drivers/mfd/tc6393xb.c | |
parent | mfd: Get rid of now unused mc13783 private header (diff) | |
download | linux-fa6e4b181c57ae8b18758840b8a8545b3bb1f1d9.tar.xz linux-fa6e4b181c57ae8b18758840b8a8545b3bb1f1d9.zip |
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: if (tc6393xb->gpio.base != -1) temp = gpiochip_remove(&tc6393xb->gpio); tcpd->disable(dev); -err_clk_enable: - clk_disable(tc6393xb->clk); err_enable: + clk_disable(tc6393xb->clk); +err_clk_enable: iounmap(tc6393xb->scr); err_ioremap: release_resource(&tc6393xb->rscr); |