aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-xiic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-xiic.c')
-rw-r--r--drivers/i2c/busses/i2c-xiic.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index 433f377b3869..4c8b368d463b 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -40,7 +40,6 @@
40#include <linux/i2c-xiic.h> 40#include <linux/i2c-xiic.h>
41#include <linux/io.h> 41#include <linux/io.h>
42#include <linux/slab.h> 42#include <linux/slab.h>
43#include <linux/of_i2c.h>
44 43
45#define DRIVER_NAME "xiic-i2c" 44#define DRIVER_NAME "xiic-i2c"
46 45
@@ -752,8 +751,6 @@ static int xiic_i2c_probe(struct platform_device *pdev)
752 i2c_new_device(&i2c->adap, pdata->devices + i); 751 i2c_new_device(&i2c->adap, pdata->devices + i);
753 } 752 }
754 753
755 of_i2c_register_devices(&i2c->adap);
756
757 return 0; 754 return 0;
758 755
759add_adapter_failed: 756add_adapter_failed: