diff options
Diffstat (limited to 'drivers/i2c/busses/i2c-pnx.c')
-rw-r--r-- | drivers/i2c/busses/i2c-pnx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c index 1713b3ee61f5..d09577a05d00 100644 --- a/drivers/i2c/busses/i2c-pnx.c +++ b/drivers/i2c/busses/i2c-pnx.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/err.h> | 23 | #include <linux/err.h> |
24 | #include <linux/clk.h> | 24 | #include <linux/clk.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <linux/of_i2c.h> | ||
27 | 26 | ||
28 | #define I2C_PNX_TIMEOUT_DEFAULT 10 /* msec */ | 27 | #define I2C_PNX_TIMEOUT_DEFAULT 10 /* msec */ |
29 | #define I2C_PNX_SPEED_KHZ_DEFAULT 100 | 28 | #define I2C_PNX_SPEED_KHZ_DEFAULT 100 |
@@ -741,8 +740,6 @@ static int i2c_pnx_probe(struct platform_device *pdev) | |||
741 | goto out_irq; | 740 | goto out_irq; |
742 | } | 741 | } |
743 | 742 | ||
744 | of_i2c_register_devices(&alg_data->adapter); | ||
745 | |||
746 | dev_dbg(&pdev->dev, "%s: Master at %#8x, irq %d.\n", | 743 | dev_dbg(&pdev->dev, "%s: Master at %#8x, irq %d.\n", |
747 | alg_data->adapter.name, res->start, alg_data->irq); | 744 | alg_data->adapter.name, res->start, alg_data->irq); |
748 | 745 | ||