aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/busses/i2c-gpio.c')
-rw-r--r--drivers/i2c/busses/i2c-gpio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index 8cdb4f743e19..bfa02c6c2dda 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -16,7 +16,6 @@
16#include <linux/platform_device.h> 16#include <linux/platform_device.h>
17#include <linux/gpio.h> 17#include <linux/gpio.h>
18#include <linux/of_gpio.h> 18#include <linux/of_gpio.h>
19#include <linux/of_i2c.h>
20 19
21struct i2c_gpio_private_data { 20struct i2c_gpio_private_data {
22 struct i2c_adapter adap; 21 struct i2c_adapter adap;
@@ -224,8 +223,6 @@ static int i2c_gpio_probe(struct platform_device *pdev)
224 if (ret) 223 if (ret)
225 goto err_add_bus; 224 goto err_add_bus;
226 225
227 of_i2c_register_devices(adap);
228
229 platform_set_drvdata(pdev, priv); 226 platform_set_drvdata(pdev, priv);
230 227
231 dev_info(&pdev->dev, "using pins %u (SDA) and %u (SCL%s)\n", 228 dev_info(&pdev->dev, "using pins %u (SDA) and %u (SCL%s)\n",