aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-s6000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-s6000.c')
-rw-r--r--drivers/i2c/busses/i2c-s6000.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-s6000.c b/drivers/i2c/busses/i2c-s6000.c
index 008836409efe..7c1ca5aca088 100644
--- a/drivers/i2c/busses/i2c-s6000.c
+++ b/drivers/i2c/busses/i2c-s6000.c
@@ -365,7 +365,6 @@ static int s6i2c_remove(struct platform_device *pdev)
365{ 365{
366 struct s6i2c_if *iface = platform_get_drvdata(pdev); 366 struct s6i2c_if *iface = platform_get_drvdata(pdev);
367 i2c_wr16(iface, S6_I2C_ENABLE, 0); 367 i2c_wr16(iface, S6_I2C_ENABLE, 0);
368 platform_set_drvdata(pdev, NULL);
369 i2c_del_adapter(&iface->adap); 368 i2c_del_adapter(&iface->adap);
370 free_irq(iface->irq, iface); 369 free_irq(iface->irq, iface);
371 clk_disable(iface->clk); 370 clk_disable(iface->clk);