aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/busses/i2c-exynos5.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
index aca3991b7636..da39ff0deab5 100644
--- a/drivers/i2c/busses/i2c-exynos5.c
+++ b/drivers/i2c/busses/i2c-exynos5.c
@@ -702,10 +702,6 @@ static int exynos5_i2c_probe(struct platform_device *pdev)
702 702
703 platform_set_drvdata(pdev, i2c); 703 platform_set_drvdata(pdev, i2c);
704 704
705 clk_disable_unprepare(i2c->clk);
706
707 return 0;
708
709 err_clk: 705 err_clk:
710 clk_disable_unprepare(i2c->clk); 706 clk_disable_unprepare(i2c->clk);
711 return ret; 707 return ret;
@@ -716,7 +712,6 @@ static int exynos5_i2c_remove(struct platform_device *pdev)
716 struct exynos5_i2c *i2c = platform_get_drvdata(pdev); 712 struct exynos5_i2c *i2c = platform_get_drvdata(pdev);
717 713
718 i2c_del_adapter(&i2c->adap); 714 i2c_del_adapter(&i2c->adap);
719 clk_disable_unprepare(i2c->clk);
720 715
721 return 0; 716 return 0;
722} 717}