aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-imx.c')
-rw-r--r--drivers/i2c/busses/i2c-imx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index a231d2fd91ce..ccf46656bdad 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -52,7 +52,6 @@
52#include <linux/slab.h> 52#include <linux/slab.h>
53#include <linux/of.h> 53#include <linux/of.h>
54#include <linux/of_device.h> 54#include <linux/of_device.h>
55#include <linux/of_i2c.h>
56#include <linux/platform_data/i2c-imx.h> 55#include <linux/platform_data/i2c-imx.h>
57 56
58/** Defines ******************************************************************** 57/** Defines ********************************************************************
@@ -682,8 +681,6 @@ static int __init i2c_imx_probe(struct platform_device *pdev)
682 return ret; 681 return ret;
683 } 682 }
684 683
685 of_i2c_register_devices(&i2c_imx->adapter);
686
687 /* Set up platform driver data */ 684 /* Set up platform driver data */
688 platform_set_drvdata(pdev, i2c_imx); 685 platform_set_drvdata(pdev, i2c_imx);
689 clk_disable_unprepare(i2c_imx->clk); 686 clk_disable_unprepare(i2c_imx->clk);